From: Charles Oliver Nutter Date: 2009-03-06T09:17:31+09:00 Subject: Re: Compiling a Ruby app David Masover wrote: > It's worth mentioning that these are not mutually exclusive. > > For example, the LLVM seems to be capable of doing all of the above, to > some extent. They describe it as compile-time, link-time, run-time, and > idle-time optimizations. > > I really see no reason you couldn't have a language like Ruby in which > the obvious stuff is pre-optimized beyond recognition, and the more > dynamic stuff is optimized at runtime. In fact, I suspect we'd get most > of this for free, if Rubinius ever finishes that LLVM port I keep > hearing about. LLVM does no dynamic optimization at runtime; it only does static optimizations. The most interesting LLVM project to me is one that uses LLVM as a backend for the Hotspot JVM (OpenJDK), allowing Hotspot's dynamic optimizations to couple with LLVM's static ones. http://icedtea.classpath.org/wiki/ZeroSharkFaq - Charlie