Distilling JRuby: The JIT Compiler(realjenius.com)
realjenius.com
Distilling JRuby: The JIT Compiler
http://www.realjenius.com/2009/10/06/distilling-jruby-the-jit-compiler/
2 comments
The JRuby developers have spent a lot of time doing performance measurements, implementing optimizations and trying out different approaches. You're just throwing in your two cents based on second-hand knowledge of an obsolete language implementation...
Indeed, I don't know about JRuby. I know about Scheme. There is no fast Scheme that JIT-compiles, that I know of. All the fast Lisp compilers that I know compile ahead-of-time.
If you know why they did this, pray tell :) As a language implementor yourself, you probably have a good feel for the cost accounting.
If you know why they did this, pray tell :) As a language implementor yourself, you probably have a good feel for the cost accounting.
i like the domo kun.
It still seems to me that JIT compilation is needless, unless your compiler is as smart as Self's. One should simply compile to the desired target language and avoid warmup costs.