3 ms·
Combining the Unix style process separation with mechanisms in the language might be useful. A problem with such environments might be the availability of wide
by stcredzero 16y ago
Combining the Unix style process separation with mechanisms in the language might be useful.
A problem with such environments might be the availability of widely used applications like Google Chrome or Firefox. A way around this might be to expose the language's Virtual Machine as bytecode or some other intermediate, and target C compilers to that. This way, an entire POSIX environment could be built on top of the Lisp based OS, which would be more comfortable for many users, yet still offer an omnipotent, seamless access to code everything "from the bare metal-up" in Lisp.
- thmzlt 16y agoI recently found this Scheme to C/JVM/C# compiler: http://www-sop.inria.fr/mimosa/fp/Bigloo/ http://www-sop.inria.fr/mimosa/fp/Bigloo/
- igrekel 16y agoI've heard people having good results using Gambit to generate C code from scheme to write software for unusual platforms. http://www.iro.umontreal.ca/~gambit/doc/gambit-c.html http://www.iro.umontreal.ca/~gambit/doc/gambit-c.html
- simias 16y agoThe main problem is that the performances of the emulated POSIX would likely be terrible.
- stcredzero 16y agoFor one thing, if the VM was JIT-ed, I think your assessment is about 15 years out of date. For another thing, no one would be building server/back-end infrastructure on top of such a POSIX layer. It would be there for compatibility for end-users. (So everyone could have Firefox, if they happen to need it, which isn't going to be that common anyhow. Most such machines would be headless.) If you want to run things for heavy-duty functionality on POSIX, just put it on another machine in the cluster running Linux. The whole point of such a system would be to code servers and such functionality in Lisp with exposure of the bare-metal as 1st class Lisp entities. Performance won't be great but for the purpose it would serve, it certainly wouldn't be terrible.
- sedachv 16y agoBoth NestedVM (http://nestedvm.ibex.org/ http://nestedvm.ibex.org/) and Javum (http://sourceforge.net/projects/javum/ http://sourceforge.net/projects/javum/) do this for the JVM.