[フレーム]
BT

InfoQ Software Architects' Newsletter

A monthly overview of things you need to know as an architect or aspiring architect.

View an example

We protect your privacy.

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Unlock the full InfoQ experience

Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources.

Log In
or

Don't have an InfoQ account?

Register
  • Stay updated on topics and peers that matter to youReceive instant alerts on the latest insights and trends.
  • Quickly access free resources for continuous learningMinibooks, videos with transcripts, and training materials.
  • Save articles and read at anytimeBookmark articles to read whenever youre ready.

Topics

Choose your language

InfoQ Homepage News JRuby Roundup: 1.1.3, rcov4jr, Rubinius MVM and FFI

JRuby Roundup: 1.1.3, rcov4jr, Rubinius MVM and FFI

This item in japanese

Jul 23, 2008 2 min read

Write for InfoQ

Feed your curiosity. Help 550k+ global
senior developers
each month stay ahead.
Get in touch
JRuby 1.1.3 has been released, with JRuby versions available for download at Codehaus. The major changes in this maintenance release, from the release notes:
- RubyGems 1.2
- Greatly improved interpreter performance
- jrubyc compiler usability improvements and bug fixes
- Reduced memory usage and object churn
- Dozens of IO-related and core class RubySpec fixes + reduced memory for IO
- ThreadGroup fixes to resolve Mongrel "dead thread" issues
- New options/properties for tweaking JIT, thread pooling, and more
- Block invocation performance improvements
- Much faster Time performance
- Much better support for --debug
- Mentioning that context classloader fix would be nice (since it quite user visible, and many users seen/asked for it). JRUBY-2495
- 82 issues resolved since JRuby 1.1.2

Vladimir Sizikov provides some more information about the changes in JRuby 1.1.3, such as the improvements that come from shipping Ruby Gems 1.2:
In the past, we even had to increase the memory limits for JRuby up to 500Mb so that RubyGems could work without out of memory errors. Not anymore! RubyGems 1.2 is a fantastic release that speed things up dramatically, and JRuby 1.1.3 comes with it by default. Just try it and you'll be amazed, I promise! :) Not only that, but RubyGems 1.2 is much easier to customize to suit the needs of particular implementations/platforms, and we've taken full advantage of that, eliminating essentially all custom JRuby-specific patches over the RubyGems sources.
The number of JRuby libraries and integration support keeps on growing. A new project aims to provide support for Rubinius Foreign Function Interface (FFI). The first mention comes from Charles Nutter in a mail to the jruby-dev list:
Welcome Wayne Meissner! Wayne is one of the primary folks behind JNA, which has totally saved us (chmod, symlink, other posix, UNIX sockets, and more). He's also implemented jruby-ffi, which should have its first release soon...and manages to pass many specs for Rubinius's fully FFI-based zlib.rb.
Wayne Meissner is now a JRuby committer. The Github mirror of the JRuby repository shows a recent commit with the message "Merge branch 'ffi'", and a search for 'ffi' in the commit messages allows to track progress of the FFI support.

Rcov is a popular code coverage tool. Rcov doesn't work on JRuby because it uses native extensions to get notified when a method is invoked. The rcov4jr, hosted in the jruby-extras repository is an attempt to provide rcov on JRuby.

Finally, Charles Nutter has ported the Rubinius MVM API to JRuby. The commit of the JRuby port of the Rubinius MVM API (at the Github mirror of the JRuby repository) shows what's available. InfoQ covered the work on Ruby MVM implementations before.

What MRI-only Ruby libraries do you miss on JRuby?

Rate this Article

Adoption
Style

Related Content

The InfoQ Newsletter

A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example

We protect your privacy.

BT

AltStyle によって変換されたページ (->オリジナル) /