And They Said JRuby was Dead...

Things are looking very good for JavaOne.
The past several months have been a period of furious development on the JRuby project, with milestone after milestone flying by. Four months ago we couldn't run most basic Ruby apps and were still wrestling with basic 1.8 compatibility issues. Since that time...
Read More
2006-05-12 22:05:00 +0000

Scripting and services top Sun software chief's list

Scripting and services top Sun software chief's list:
"Support for scripting languages in Java, squeezing revenue from a set of long-promised - but strangely MIA - services, and more open source initiatives are among top priorities for Sun Microsystems' newly appointed software chief.…"...
Read More
2006-05-12 15:58:00 +0000

A DSL for Bytecode Generation

Having discovered the power and magic of bytecode generation, it occurred to me that none of the existing libraries have the subtle elegance that most code generation tasks really deserve. I believe there's a simple reason for this: they're written in Java. Some of them really try to make things...
Read More
2006-05-09 21:10:00 +0000

My JavaOne Calendar

I've entered all the sessions I'm planning to attend into Google Calendar, available at the following URLS:
- RSS- ICal- You can search for "Headius at JavaOne" in GCal too. ...
Read More
2006-05-09 06:00:00 +0000

More v1 Compilation Experiments

Since it's turned out to be so easy to generate bytecodes based off the Ruby AST, I tackled another trouble spot for us: literal array creation.
The current interpreter, in order to follow a generic, iterative model, has a large overhead for instantiating literal arrays. For example, to create the...
Read More
2006-04-30 21:58:00 +0000

In The Beginning: Early Returns on JRuby Compilation

I'll put a big fat disclaimer here stating that these results are extremely preliminary, and mean practically nothing. I'm just very tired and very excited that after seven hours of work, I've already made some progress...I sorta, kinda compiled some Ruby code to Java bytecodes. Yes, I've been up all...
Read More
2006-04-28 08:36:00 +0000

JRuby Compiler Will Happen

Things have really been clicking along on JRuby. Tom has been knocking down Rails unit tests left and right, and more and more stuff is working. I found a nice little performance booster that gives us as much as 30-40% speed increase when starting up. Other folks have been working...
Read More
2006-04-27 19:23:00 +0000

JRuby on Rails

After seeing David Heinemeier Hansson ask the "Groovy on Rails" project not to use that moniker (since it isn't Ruby, it isn't Rails, and it has a completely separate codebase), I figured I'd play it safe and ask him directly whether "JRuby on Rails" would be acceptable. We intend to...
Read More
2006-04-19 11:12:00 +0000

Eclipse UnsatisfiedLinkError: libswt-pi-gtk-3139

I ran into this a bit ago and found no solutions online. I figured it was my duty to provide at least one posting on how I solved it, since there seems to be a lot of frustrated people out there. My eventual solution was to run with 1.5 instead...
Read More
2006-04-19 10:59:00 +0000

A Personal Blog

I've decided to add a personal blog, since many other tech writers do the same (and it seemed like a good idea).
Pop over to Headius@Home...
Read More
2006-04-18 11:48:00 +0000

The Beginning of JRuby on Rails

It must be something of a debate in the blogosphere as to whether titles should be descriptive, possibly giving away a great secret hidden within an entry's text, or whether titles should only hint at the truth, enticing a curious and diligent reader to venture onward. The former perhaps produces...
Read More
2006-04-13 06:25:00 +0000

A Ruby in the Rough

Feeling More and More Ruby with Gems
Things are speedily moving along. We have been continuing our work on Rails, but because of an unusually active JRuby community, we recently changed direction for a bit. We decided to tackle RubyGems...
Read More
2006-03-30 07:01:00 +0000

Ultra

It seems that JRuby is more than just an entertaining and challenging project; it's also getting attention from folks that matter at Sun Microsystems.
Tim Bray, Sun Web Technologies director and XML specification co-editor, has recently taken an interest in JRuby. He's corresponded by email with both Tom and myself,...
Read More
2006-03-27 06:38:00 +0000

Enterprise Sour Grapes

Recently a post by James McGovern on Why Ruby Isn't Enterprise Ready floated my way. I felt it necessary to offer up a response. My disclaimers: I am not familiar with McGovern's past work, I am not (yet) using Ruby in the "enterprise", and I am far from a Ruby...
Read More
2006-03-20 15:01:00 +0000

Rails' Generators Are Working

I considered making a post last week, to keep up my at-least-one-posting-per-week schedule. However, I had dug myself deep into Rails' generator script and the built-in generators and resolved myself to finally get them running. There were a number of more complicated issues to solve, but it felt like I...
Read More
2006-03-20 06:18:00 +0000

Progress Update March 9

It's been a busy few days. We've made more good progress, so I figured an update was due.
Last Class...
Read More
2006-03-09 15:23:00 +0000

IRB is GO!

I should post about things not working more often.
Within a few hours after my previous post, where I showed the world how IRB now starts up successfully in JRuby but does not work, I was back at it trying to fix the next few bugs preventing it from working...
Read More
2006-03-03 00:52:00 +0000

JRuby Progress Updates: JRuby on Rails, IRB, and the Future

We've been very productive on JRuby over the past week. Progress is being made on many fronts, and I'm more excited than ever about JRuby's potential. Here's a few updates on Rails, IRB, and JRuby's future for those of you following along. It's a long post, but each subsection stands...
Read More
2006-03-02 15:57:00 +0000

Migrating from Ant to Rake?

I will admit it. I'm fed up with Ant.
My current charge has me as architect for a number of larger applications and the platform on which they run--perhaps over 1Mloc total from DB to front-end. These applications must be deployable across several environments (dev, integ, qa, ua, prod, prod...
Read More
2006-02-22 17:17:00 +0000

Making Progress on Rails

I've been making good progress on my end of the Rails-on-JRuby work. I have been focusing on getting the "generate" script working, and as a result fixing multiple bugs and minor issues as they come up. Here's an update.
The most recent issue, now apparently mostly fixed, involved evaluating a...
Read More
2006-02-21 17:20:00 +0000