I created JRUBY-501 to track performance improvements to Java integration, since it's come to light recently that it may be one of our biggest bottlenecks now. And I found a ripe, juicy fix already.
For every call to a Java type, we call JavaUtilities.matching_method with a list of potential methods...
2007-01-30 18:46:00 +0000
Martin Fowler enjoys using JRuby with Velocity...
2007-01-20 05:24:00 +0000
Times they are a-changing.
I posted previously on JRuby's compiler work. There have been various iterations of the compiler, many purely prototype and never intended to be completed, and a few genuine attempts at evolving toward full Ruby support. However I believe in the recent weeks I've settled on a...
2007-01-19 05:28:00 +0000
Who knew writing a compiler could be so much fun.
I managed to accomplish two things tonight. It's late and I have a flight home tomorrow, so I'll be brief...
2007-01-12 08:23:00 +0000
Tor, you sneaky devil. You tagged me before anyone else had a chance. You grabbed the brass ring. Kudos.
So to continue the "5 Things" meme (for the record, I really hate the word "meme"), I present for you five things you probably don't know about me. Actually, some of...
2007-01-07 01:21:00 +0000
The headline says it all, really!
The TIOBE Programming Community Index measures language popularity based on "the world-wide availability of skilled engineers, courses and third party vendors" using the major search engines. It's not not a terribly scientific way to measure popularity, but I'm not sure anyone has a better...
2007-01-05 22:59:00 +0000
I've been cranking away on the new compiler. I'm a bit tired and planning to get some sleep, but I've gotten the following working:
all three kinds of callslocal variablesstring, fixnum, array literals'def' for simple methods and arg listsclosuresNow that last item comes with a big caveat: I have no...
2007-01-04 10:54:00 +0000
Over time I've become less convinced that hotswappable classes would be an absolute requirement for the proposed invokedynamic bytecode to be useful, and more convinced that there's a number of ways a dynamic language like Ruby or Groovy could utilize the new bytecode. This post gives a little background on...
2007-01-03 19:04:00 +0000
Congratulations to the Groovy team on their release of Groovy 1.0! Groovy is another dynamic language for the JVM inspired by features in Smalltalk, Python, and of course Ruby. It's been a long time coming, and a lot of hard work involved, but Groovy 1.0 is finally here.
2007-01-02 23:54:00 +0000
The team has grown again! After I asked the JRuby community to nominate a new team member, based on past code, mailing list, documentation, or other contributions, a number of folks thought Nick Sieger would be a good addition. And we agreed.
Nick is the original author of the ActiveRecord-JDBC...
2007-01-02 00:55:00 +0000
Evan Phoenix (of Rubinius fame) were discussing dynamic dispatch today on #rubinius, sharing our caching strategies and our dispatch woes. We talked at length about various strategies for speeding dispatch, cache invalidation mechanisms, compilation techniques, and so on. All gloriously fun stuff.
So at one point I related to him...
2006-12-28 05:48:00 +0000
This week (what's left of it) I'm spending on performance again. It's officially a holiday for Sun, so I'm not technically on the clock. I could even sleep the entire week and pick things back up on Tuesday.
2006-12-27 19:05:00 +0000
There will be two JRuby talks at JavaPolis.
The first is part of the "University" sessions tomorrow. We're the middle hour of a three-hour bit on scripting languages for the JVM. During that session we're going to be focusing on practicalities like building a simple app, using IRB, and getting...
2006-12-10 21:51:00 +0000
Another conference, another meetup!
JRuby JavaPolis Meetup...
2006-12-10 20:57:00 +0000
Damian Steer, regular JRuby contributor, has taken the IRB applet and run with it. He's gotten readline working (history, line editing, tab-completion), added some fonts and colors to differentiate things, and even put in an intellisense-like menu for tab completion of method names.
2006-12-04 21:34:00 +0000
Ashish Sahni has posted instructions for packaging a Rails app as a WAR on his blog, based on the work of a number of JRuby community members. I ran through his instructions, and have only two modifications to make:
When installing Rails, you still probably want to pass --no-ri --no-rdoc...
2006-12-02 08:46:00 +0000
Tor Norbye is a programming machine on par with the legendary Ola of Bini. He's the one-man force working on NetBeans Ruby support, and his progress has been epic. Here's his latest screenshot and a short blurb about it:
NetBeans + Ruby = True...
2006-11-29 23:28:00 +0000
Now this is really cool. Tony Hursh, commenter on the previous "Advanced Rails Deployment" post, put together an OS X Application Bundle template that allows you to use the JRuby "complete" JAR file as the base of a typical OS X app. What does that mean? That means you just...
2006-11-20 05:08:00 +0000
I'm trying to be 100% NetBeans these days, and I'll be documenting tips and tricks as I learn them. Hopefully others going through the same exercise will find these tips and they'll help make the transition smoother.
Why am I making this move, you ask? Well, of course there's the...
2006-11-19 18:04:00 +0000
There's a lot of work going on right now focusing on various mechanisms for deploying JRuby-based apps. This article will summarize some of the work happening and why it's really, really important for the Ruby world.
2006-11-17 17:43:00 +0000