Saturday, 24 November 2007

Low-Level Virtual Machine

LLVM is a compiler infrastructure designed to make it easier to write native code compilers by providing a RISC-like intermediate assembler and the potential for high-level features like garbage collection and free exception handling.

We are very interested in the idea of building a new virtual machine designed ideally suited to statically-typed functional programming languages. LLVM looks like the ideal starting point for such a project. The examples even include a complete Scheme implementation with working garbage collector in only 1,000 lines of code!

No comments: