On Dec 7, 2009, at 8:36 AM, ravenex wrote:
Greetings. New to this list, and to MacRuby. I was just skimming over the source code from trunk, but wasn't able to find a document that describes the current design of Roxor. I only found requirements, build instructions, coding styles and the like.
I don't have any answers either, but let me try to collect the relevant information, if only to improve my own understanding.
The thing I find very confusing is that in vm.cpp, RoxorCore::RoxorCore(), there's a call to ee->DisableLazyCompilation(). This disables LLVM JIT's lazy compilation. Is it the case that Roxor compiles every method called by the toplevel script? Or how is Roxor feeding stuff into the JIT?
Any pointers to documents, blog posts or mails would be truely appreciated.
But mostly on the VM (which is essential for breaking the Global Interpreter Lock):