Jruby

Let’s Build a Simple Video Game with JRuby: A Tutorial

Ruby isn't known for its game development chops despite having a handful of interesting libraries suited to it. Java, on the other hand, has a thriving and popular game development scene flooded with powerful libraries, tutorials and forums. Can we drag some of Java's thunder kicking and screaming over to the world of Ruby? Yep! - thanks to JRuby. Let's run through the steps to build a simple 'bat and ball' game now.

Read more →

In-depth JRuby Q&A: What Makes JRuby Tick in 2010?

jruby1JRuby is undoubtedly the most mature of the alternative Ruby implementations. Supporting Ruby 1.8.7 and 1.9.1 (mostly!) and JIT compilation, JRuby is already in use in mission critical Ruby apps and runs scarily fast on the JVM. In this interview with JRuby core member, Charles Nutter, we dig deep into what makes JRuby tick.

Read more →

Rack Makes It Onto JRuby

rack-logo.pngMost Ruby developers should be familiar with Rack, an interface / library that abstracts away a lot of the banalities of hooking up application code to HTTP servers. It's used by several Ruby Web application frameworks already, some as a default - such as Merb, and others as an optional extra - such as Rails. Rack is significant because it provides a standard for Web-facing Ruby applications and frameworks to adhere to and is rapidly becoming the de-facto standard in this space.

Read more →

JRuby 1.1 Beta 1 Released; Faster Than The Regular Ruby Interpreter

Thomas Enebo of the JRuby team has announced the release of the first beta of JRuby 1.1. This is a significant release, focusing heavily on performance increases. The performance increases yielded so far are so significant that in most like-for-like tests, JRuby beats the regular Ruby interpreter (a.k.a. MRI) JRuby 1.1. On Rails-focused tests, JRuby also wins.. making JRuby the fastest way to run Rails applications at present. Charles Nutter talks about the improvements, along with a number of other interesting JRuby-related topics, in his latest blog post - a must read for Ruby implementation nuts.

Read more →

JRuby 1.0 Released

Jrubylogo
JRuby, a Java implementation of the Ruby interpreter, has reached version 1.0. A massive congratulations are due to the team. At the time of writing, the release has not been announced on the official site, but you can download the final build.
JRuby originally came into being in 2001 as a simple Java port of the Ruby 1.6 code, but has blossomed into a free-standing project that has chosen to innovate in its own way. In September 2006, Sun "acquired" the JRuby project by bringing its then two main developers on board, and since then work appears to have continued at a rapid pace. With the release of 1.0, the team claim that applications 'will just work' and that most compatibility bugs have been eradicated.

Read more →

How to Easily Deploy a Self-Contained Rails App On A Tomcat Server

Victor Igumnov has put together a simple walkthrough of how to package a Rails application into a single WAR file to run on a Tomcat server using JRuby, a pure Ruby PostgreSQL library (no ActiveRecord-JDBC needed!), and GoldSpike (JRuby addon that provides rake tasks to make WAR files). This is useful knowledge for anyone who might be forced into deploying Rails apps in an enterprise type system where Tomcat may be the only viable deployment option.

Read more →

JRuby 0.9.8 Released: Now officially supports Rails

On behalf of the whole JRuby team, Thomas Enebo has announced the release of JRuby 0.9.8. Hundreds of minor tweaks, fixes, and features have been added, and now Ruby on Rails is officially supported. The team report a 98% pass rate for Rails 1.2.1's own unit tests, and if you've seen how deep the Rails tests go, that's pretty good work. It's pretty clear JRuby isn't too far from a 1.0 release now from which full compatibility should be available.

Read more →