The End Is Near For Mongrel

At conferences and online, Tom and I have long been talking about a mystery deployment option coming soon from the GlassFish team. It would combine the agile command-line-friendly model of Mongrel with the power and simplicity of deploying to a Java application server. We have shown a few quick demos,...
Read More
Sep 14, 2007

How Easy Is It To Contribute To JRuby?

Answer: Very Easy!
Get the Codesvn co http://svn.codehaus.org/jruby/trunk/jrubycd jrubyantRun Your Built JRubyexport PATH=$PATH:$PWD/binjruby my_script.rbInstall Gemsgem install somegemORjruby -S gem install somegemRun the Benchmarksjruby -J-server -O test/bench/bench_method_dispatch.rb(-J-server uses the "server" JVM and -O disables ObjectSpace)...
Read More
Sep 13, 2007

InfoWorld Bossies Close to my Heart

A couple interesting "Bossies" were awarded by InfoWorld this week:
Best Open Source Programming Language - Summary: Ruby gets mad props for a vibrant community and a diverse range of implementations (e.g. JRuby), and then they go squishy and say "and these other languages are great too!"Best Open Source IDE...
Read More
Sep 12, 2007

Java Native Access + JRuby = True POSIX

I know, I know. It's got native code in it, and that's bad. It's using JNI, and that's bad. But damn, for the life of me I couldn't see enough negatives to using Java Native Access that would outweigh the incredible positives. For example, the new POSIX interface I just...
Read More
Sep 02, 2007

JRuby 1.0.1 and Jython 2.2 Released

I'm in the airport, but I wanted to add to the blogs reporting that JRuby 1.0.1 and Jython 2.2 have been released.
JRuby 1.0.1 is basically just a maintenance release to 1.0. It includes various compatibility fixes that have filtered in since the release, and doesn't do much to improve...
Read More
Aug 26, 2007

NetBeans Ruby Support is the BOMB

OMG NetBeans Ruby support is so awesome. I just picked up some of the recent dailies, and it does stuff I just can't believe. But don't take my word for it.
Today I stumbled back into the NetBeans Ruby Wiki, expecting to just find the same old "how to download",...
Read More
Aug 14, 2007

Widening the JVM Languages Group: We Need You!

We need diversity in the JVM Languages group, and it's been brought to my attention that some popular/key/interesting languages may not have representation. So we need to change that.
If you are interested in the future of non-Java languages on the JVM, you should be on this list. Yes, we...
Read More
Aug 05, 2007

A Business Case for Supporting Jython

The facts:
Sun and many other organizations have started considering moves to Mercurial. In Sun's case, it's a mandate for all Sun-managed OSS projects (OpenSolaris, OpenJDK, etc).Moving projects to Mercurial frequently (usually?) requires IDE/tool support.Sun's IDE/tools and those of many other organizations are Java-based (NetBeans, Eclipse, and so on).Mercurial is...
Read More
Aug 05, 2007

Alioth Numbers for JRuby 1.0

Someone pointed out to me the other day that the Alioth "Compuer Language Benchmarks Game" (as they call it now) had started to include JRuby 1.0 in the results. And how do we fare? We're slower than Ruby 1.8.6! Hooray!
But not by much. Depending on your definition of "on...
Read More
Jul 19, 2007

Groovy and JRuby Cooperating?

Can it be true? Of course it can!
Graeme Rocher blogs about a new feature in upcoming Groovy 1.1 beta 3: support for Ruby-style "method missing" hooks!...
Read More
Jul 18, 2007

The Ever-Evolving JVM

John Rose, lead of the "invokedynamic" effort (Java Specification Request 292), has posted some exciting articles about the future of the JVM and a number of changes potentially for the next Java version. Among these is, of course, the dynamic invocation efforts, but these entries include information on non-local returns...
Read More
Jul 15, 2007

More Compiler Strategy: Call Adapters and Stack-based Methods

Compilers are hard. But not so hard as people would have you believe.
I've committed an update that installs a CallAdapter for every compiled call site. CallAdapter is basically a small object that stores the following:method namemethod indexcall type (normal, functional, variable)As well as providing overloaded call() implementations for 1,...
Read More
Jul 15, 2007

To Keyword Or Not To Keyword

One of the most attractive aspects of Ruby is the fact that it has relatively few sacred keywords. In most cases, things you'd expect to be keywords are actually methods, and you can wrap or hook their behavior and create amazing potential.
One perfect example of this is require. Because...
Read More
Jul 13, 2007

Finding a JVM compilation strategy for Ruby's dynamic nature

In JRuby, we have a number of things we "decorate" the Java stack with for Ruby execution purposes. Put simply, we pass a bunch of extra context on the call stack for most method calls. At its most descriptive, making a method call passes the following along:
a ThreadContext object,...
Read More
Jul 11, 2007

Understanding the JVM JIT and helping it along

I must apologize to my readers. I have been remiss in my blogging duties. I will be posting updates on the various events of the past month or so along with updates on JRuby progress and future events very soon. But for now, a technical divergence after a night of...
Read More
Jul 06, 2007

Camping at O'Reilly

Rumors of my demise were greatly exaggerated!
I've been mostly MIA the past couple weeks, largely due to the Ruby Kaigi and related events in Tokyo and a short family trip this past week to Lake Michigan's eastern shore (warm sandy beaches and a much-welcomed rest). But I figured I'd...
Read More
Jun 23, 2007

JRuby 1.0 Released!

We have finally released JRuby 1.0, based on the last release candidate, RC3. And what more is there to say? Not really a whole lot...It's almost entirely RC3, with one or two minor fixes added in. But it's really turned out to be an outstanding release, and already reports are...
Read More
Jun 10, 2007

A Response to Ola's IronRuby Post

I'm not up for creative titles tonight. Hopefully you'll see this in your feed reader and click for a second opinion. Granted, I agree with Ola's IronRuby post on most points, but I disagree on a few key items. So let's dive in, shall we?
You managed to blog this...
Read More
Jun 04, 2007

JRuby 1.0.0RC3 Released - And This Is It!

Tom posted the announcements already, but JRuby 1.0.0RC3 is out in the wild! This release is our most important yet, because we intend for this release to become JRuby 1.0. The only things that will change from now until a 1.0 final release later this week would be any showstopping...
Read More
Jun 03, 2007