[Fishing expedition] Virtual Machines and LLVM

When attempting to compile a dynamic language like python/java does
LLVM allow a function to compile itself one at a time? In other words,
can I parse a function, then gain the machine bit code, then execute
without parsing the other functions related to the compiled function?

Jeff Kunkel

There's two things you can do with the JIT:
1. If you don't have an interpreter, compile functions lazily, as they
are called.
2. If you do have an interpreter, wait until a function is hot to
compile it, then switch from the interpreter to the machine code and

A real virtual machine should do the second in order to avoid
unnecessary compilation.