I think this is a good idea-

I've wanted to write little Unix-style utilities in java, but the
startup overhead is quite large.  As such a script written in
tcl or something else "feels" much faster, even though in fact
Java is considerably faster (some things like tcl are *thousands*
of times slower than C, rather than being merely 10x).

Some once told me this is the sort of thing you could do in Lisp &
Scheme-
i.e. create a new namespace, run a program in it, then discard the
space and garbage collect.

In java, one has some control over the class loader.  Does anyone know
if it is possible to write a "custom sandbox" to run a program in & then
get rid of this space?

Reply via email to