…we'll be sending each of the first 100 participants a limited edition JRubyConf Poster.
The JRuby Core Team will be around on IRC channel # jruby throughout the BugMash to help folks get started and to answer questions. Be sure to stop in and say hello!
There's also a great post on the good and bad of JRuby over at the Engine Yard blog .
Hello all,The Engine Yard blog is back in action after taking a break following JRuby 1.5, Rubinius 1.0, the introduction of xCloud, RailsConf and (very soon) Rails 3.Our latest post is from a special guest and Engine Yard partner Xavier Shay. He'll be running a pair of training sessions on ‘using your database to make your Ruby on Rails applications rock solid' at Engine Yard's San Francisco office on the 24th and 31st of July. Visit www.dbisyourfriend.com for course and registration details.
Hot on the heels of his Windows Ruby implementation shootout comes Antonio Cangiano's Great Ruby Shootout of July 2010 where Antonio pits 8 different Ruby implementations against each other in a performance shootout!
Antonio's findings and observations are interesting and well worth a read (particularly the parts about memory consumption) but if you're in a hurry, the conclusion is that Ruby 1.9.2 RC2 and JRuby 1.5.1 are almost joint …
Building JRuby with C Extension Support
Like building JRuby proper, building the cext work is probably the easiest thing you'll do all day (assuming the C compiler/build/toolchain doesn't bite you.
Check out (or fork and check out) the JRuby repository from http://github.com/jruby/jruby :
git clone git://github.com/jruby/jruby.git
Switch to the "cext" branch:
git checkout -b cext origin/cext
Do a clean build of JRuby plus the cext subsystem:
Python, JRuby on the Android Platform in 10 Steps
Now of course this list is going to have a lot of JRuby and Java objects that we might not be interested in, so we'll want to filter it to just the Ruby classes. On JRuby master, all the generated Ruby classes start with a package name "ruby". Unfortunately, jitted Ruby methods start with a package of "ruby.jit" right now, so we'll want to filter those out too (unless you're interested in them, of course... JRuby is an open book!)
require 'jruby_debugger' …
" JRuby" by Charles Nutter is up next at # rubymidwest
Jruby: Real Threads and access to all of the Java. Compelling points. The slow test cycle (starting up the JVM) is a problem # rubymidwest
I know there's solutions for starting up a test server, but I've found them wonky in the past - have they gotten better? What I hear from my friends who develop in JRuby is that it's awesome in prod but slow to develop in (you're always waiting for the JVM…
We first noticed a problem when deploying a Rails 2.3.5 app with JRuby (which was a real pain to track down as something in JRuby was activating Rack 1.1 even though Rails 2.3.5 uses 1.0) and then it cropped up again in one of our Sinatra apps.
So what's the problem?
It's probably best to show a couple of examples: Rack::Utils.parse_query("foo=bar") => {"foo"=>"bar"} # correct Rack::Utils.parse_query("foo=\"bar\"") …
…external dependencies? Does Hobo require any native extensions? Can I run it under JRuby?
Actually DRYML still hasn't been separated, although Bryan Larsen has pretty much done the work now as part of his efforts to support Rails 3. So we have HoboSupport, HoboFields, and Hobo itself which includes DRYML. We rely on will-paginate for pagination and that's about it. There are no native extensions, and it runs fine under JRuby.
Do we really need another markup language? …
…we have some very interesting collaborations with people like Charles Nutter from the Jruby project. About a month ago, we took Maven central, which had about 100,000 data artifacts in it, and we did something in our Nexus project that dynamically turns a Maven repository into a Ruby Gems repository. So, we turned Maven central into the largest Ruby Gems repository on the face of the planet.
That was fairly interesting work, in terms of allowing Jruby developers writing applications …