RubyLearning.com to Relaunch Free Online Lessons

JRuby just released a maintenance release JRuby 1.0.1. This release contains bug fixes. The 1.0.1 release is available for download at the JRuby website.

A plan for JRuby 1.1 was also posted. The release is scheduled to happen before RubyConf in early November. The plan:

– compiler complete
– AOT compilation working with jrubyc
– stdlib all precompiled
– gem install precompilation
– virtual filesystem-inside-JVM (maybe) or hacked rubygems that can run out of an archive
– performance improvement to be quantified…java integration, execution, memory reduction·
– Yarv bytecode execution and compilation (maybe)
– AST sharing as an option (sharing across runtimes)…need to explore AOT compilation and its (positive?) effect on memory too
– real threading brutalization, testably multithread-safe core classes (maybe, needs heavy testing on many-core systems)
– Java API rubification, perhaps with require ‘javax.swing’ and so on·

Note: AOT compilation refers to Ahead Of Time compilation, meaning that Ruby source code can be compiled down to class files. This is in contrast with JIT compilation, which happens at runtime, Just In Time.

AST sharing is supposed to reduce memory usage when multiple JRuby runtimes share a single JVM process. An AST is an Abstract Syntax Tree, a data structure representing the source code, which is used by the interpreter and the various compilers (AOT, JIT).

This news comes from InfoQ.

Kleber Rodrigo de Carvalho