lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



What's against using temporary files, if they are deleted after the application is finished?

I've done some tests with what I called "cocooning"; making Lua applications into self-sufficient entities on all OS X (easy), Linux, and Win32. Nothing that can be currently used, but the concept was tested and working, including bundling the necessary dynamic libraries with the application (without need to install them anywhere, neither Linux nor Win32).

- asko


On Sun, 23 Jul 2006 16:31:46 +0100
 "Adam D. Moss" <adam@gimp.org> wrote:
Vyacheslav Egorov wrote:
Adam D. Moss wrote:
I was going to paste the code that I use but it's so
specific to me that it'd be more confusing than helpful -
but really it's only about 70 lines and nothing very
spicy.

--Adam
Have you managed to solve "dll-in-zip" problem? That is I want to load dlls into memory directly without creating temporary files.

Oh no, not at all. That is a very hard (though not impossible) problem. My apps are basically scripts+data, and these live
in zip-like resource files -- there's no app-specific
platform-specific code included in these, that's all driven by
a generic C engine with its own dependencies.

--Adam