InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

JRuby Roundup: JRuby Team Joins EngineYard, YAML Support, OSGi, Installer

Posted by Werner Schuster on Jul 28, 2009

Sections
Development
Topics
Ruby ,
JRuby ,
Java
Tags
JRuby ,
Sun Microsystems ,
OSGi ,
Install

The JRuby community's abuzz with the news: Sun's JRuby team, Charles Nutter, Tom Enebo, and Nick Sieger will join EngineYard. Both Charles and Tom worked on JRuby full time; Nick created tools like Warbler and others, but worked mainly on projects such as Sun's Project Kenai, which uses JRuby and Rails for its web frontend.

Here a quick snapshot of tweets about the move.
EngineYard's Ezra Zygmuntowicz:

i guess the news is out early. The whole 3 person jruby team is leaving sun to come work for Engine Yard. Welcome guys!

Tom Enebo:

So yeah the news it out a little early. @nicksieger, @headius and I are heading to Engine Yard. This is a very good move for JRuby and EY.

Charles Nutter:

Me, @tom_enebo, and @nicksieger are going to Engine Yard! Thanks to all the well-wishers out there! http://ru.ly/i4

Computerworld also has a writeup of the news. EngineYard has recently announced it'll bee adding JRuby hosting support; it is also the official maintainer of Ruby 1.8.6.

Meanwhile, work on improving JRuby's performance continues. Ola Bini wrote Yecht, a new YAML parser. Yecht is faster than JRuby's previous YAML support:

Yecht is now 20 times faster at scanning and 15 times faster at parsing. That makes it about twice as fast as Syck now.

Yecht has already been integrated in the JRuby trunk and replaced its old YAML support.
Update: a correction - as Ola Bini points out in the comments: Yecht isn't necessarily faster than the previous YAML support in JRuby, but is uses less memory and is more compatible with MRI's YAML support.

JRuby users who don't want to manually install JRuby and set up all the required environment variables might be in luck. A discussion on the jruby-dev list led to Daniel Lopez, of BitRock, to create prototypes of installers for Windows, MacOS X and Linux. The BitNami JRubyStack and GitHub:FI are bundled with BitRock installers.

Finally, JRuby users who have trouble running in an OSGi container can look at Tommy McGuire's solution for getting JRuby and OSGi to work together.

Yecht is not faster than JRuby's previous YAML support by Ola Bini Posted
Re: Yecht is not faster than JRuby's previous YAML support by Werner Schuster Posted
  1. Back to top

    Yecht is not faster than JRuby's previous YAML support

    by Ola Bini

    Those numbers are taken totally out of context.
    Yecht is about twice as fast as Syck, but that is the core parsing engine that does nothing. Once you add on the integration with JRuby, Yecht is about the same speed as MRI's YAML support, although the emitting is faster.

    JvYAMLb (the earlier JRuby YAML processor) was a bit faster at loading documents, but it wasn't very compatible with Syck. It was also a memory hog.

    So the important things about Yecht is 1: it does exactly the same thing as MRI, and 2: it uses less memory than earlier YAML implementations for JRuby.

  2. Back to top

    Re: Yecht is not faster than JRuby's previous YAML support

    by Werner Schuster

    Thanks for the clarification Ola. I confused Syck with the old JRuby YAML support. I added a note about it in the text;

Educational Content

Jesper Boeg on Priming Kanban

In this interview, Jesper Boeg, author of the new InfoQ book – Priming Kanban, discusses the keys to using Kanban effectively, and how to get started if you are currently using other approaches.

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.