From: Tony Arcieri Date: 2011-03-15T10:33:56+09:00 Subject: Re: Doubts about Ruby and JRuby --000325559986c6204a049e7b6b09 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Mar 14, 2011 at 4:37 PM, Giuseppe luigi Punzi ruiz < glpunzi@lordzealon.com> wrote: > Then... Is good idea, to use JRuby for Desktop closed source > applications instead Ruby MRI? For other type of projects, opensource > for example, is better Ruby 1.9 performance than JRuby? Am I mixing > concepts? > JRuby's a great way to distribute Ruby apps on Windows, so long as they don't use native extensions, which is fairly easy to avoid if you're trying. For packaging JRuby apps, there's Rawr, which will make a .exe on Windows and a .app for Macs: http://rawr.rubyforge.org/ As far as performance goes, it's really going to vary depending on what you're doing in terms of the actual Ruby code itself and what libraries you're using, as some of the JRuby alternatives to native extensions are quite slow and vice versa. 1.9/YARV and JRuby are generally considered two of the fastest implementations available, and JRuby lets you tap into Java libraries where you need additional performance. The precompiled .class files that JRuby generates are probably one of your best options in the Ruby world when it comes to source code obfuscation for a closed source application. -- Tony Arcieri Medioh! Kudelski --000325559986c6204a049e7b6b09--