[erlang-questions] Re: file operations on zipped files (Re: how to add a module to preLoaded?)

Dave Smith dizzyd@REDACTED
Fri Apr 1 02:44:03 CEST 2011


On Thu, Mar 31, 2011 at 12:04 PM, Ulf Wiger
<ulf.wiger@REDACTED> wrote:
>
> Note that the compiler fetched proper.hrl et al from the run_proper.ez zip file, which contains PropEr as a single zip file. The idea (see http://github.com/esl/run_eqc) was that it should be possible to deliver an application as a single archive, supporting command-line operations, interactive code loading, and compilation including hrl files, parse_transforms etc., without having to unpack the archive.

+1 on this feature -- it opens some very interesting doors.

It's unfortunate that .so's require a file name (versus handle). I
suppose one could work around this in individual libraries by copying
the .so into /tmp before opening it.

D.



More information about the erlang-questions mailing list