From: Charles Oliver Nutter Date: 2007-12-06T14:46:11+09:00 Subject: Re: Ruby App Distribution Joe L wrote: > http://wiki.jruby.org/wiki/JRuby_Compiler I was looking through the information there. There seems to be a lot it doesn't support. > > > Notable things that do not compile in either safe or unsafe mode: > > class and module definitions > singleton class and method definitions > blocks with arguments > method defs with optional, "rest", or block arguments > some method calls are unsafe, like "block_given?" and "local_variables" > splats and multiple assignment (a, b = b, a) Actually, it's also worth mentioning that JRuby's had an interpreted mode (similar to Ruby 1.8.x) forever, so you don't even need to compile the Ruby code to run it. It just works, pretty much like running the C implementation. And as it runs, JRuby will compile it for you, resulting in performance improving at runtime. - Charlie