JRuby 1.0.1 release, JRuby 1.1 plan posted
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).
How Can We Use Our Creative Power and Technological Opportunity to Address the Challenges of the 21st Century?
Gyorgyi Galik Feb 26, 2015