From: Joe L Date: 2007-12-07T02:33:42+09:00 Subject: Re: Ruby App Distribution --0-1503655803-1196962410=:89838 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Is it possible to use wxRuby or FXRuby with JRuby? I'm just asking because I was hoping to use one of them. I've used Swing in the past, it looks like it might be less verbose when writing in in Ruby. Joe Charles Oliver Nutter wrote: 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) That's old, thanks for calling my attention to it. The JRuby compiler has been complete for about a month, and can compile all Ruby code in the stdlib (so it's pretty solid). If you're interested in a cross-platform GUI library, there's a number of frameworks for building Swing-based apps. Write it, package it up into a JAR file, and anyone with Java can run it without trouble. To me, it seems like the best/easiest way to get a cross-platform Ruby GUI app. - Charlie --------------------------------- Never miss a thing. Make Yahoo your homepage. --0-1503655803-1196962410=:89838--