Oleg Kobchenko wrote:
> I have seen instances when DLLs can be included inside
> one executable file. Possibly these should be resources
> rather than the zip part.
 
Yes, conceptually, ELF and PE* both can represent multiple
"files", much like .ZIP.  The advantage of .ZIP is that it's
supported across across platforms.


> On Mac, the Universal binaries are two executables hosted
> in one file. So it should be possible to something similar
> on Mac or even Linux, although haven't heard about such thing.
 
I'm dubious about this being supported on systems other
than Mac.
 
> One concern would be to expose the HTML documentation
> from inside the archive.
 
Option 0: don't bother.  Put HTML documentation up on
the web, and refer to it by url.
 
Option 1: unpack html documentation and make it available
as indpendent files, when needed.
 
Option 2: for OSes that give a file system interface for
zip contents, just use the file in place.  [Another advantage
of .zip over other formats is that this kind of thing does
exist for zip -- though it's by no means universal.]

> BTW, if J is used through interop for another host
> application, such as .NET assembly, that system's
> mechanism can be used to package up the J portion,
> including interpreter.

Yes, but getting J scripts to the interpreter is going
to require calling out to the other environment to
get them.  Which, while certainly doable, could be
a minor annoyance.
 
And, of course, this only works for people who invest
time and energy in those other tools.
 
-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to