RubyConf 2008: Future of RubyVM

Posted in Conferences, Development on December 08, 2008

RubyConf 2008: Future of RubyVM

Koichi Sasada's talk "Future of Ruby VM", where he explains his view of the C implementation of Ruby as the pragmatic solution for the near future, despite some of it's problems such as the conservative GC.

He continues to discuss some optimizations which were implemented for 1.9, which are off for now, but should be enabled in 1.9.2. Examples of these optimizations are tail call optimization, stack caching, efficient method caching and a more efficient Fiber implementation.

At around 20:00, he mentions some of of his research interests. One of them is Ricsin, which allows to embed C source inside Ruby code.

It's differs from RubyInline by allowing to put C snippets inside a Ruby method. The current version received special support in YARV. Ricsin's SVN repository is available publically.

Further projects are a Ruby to C compiler (at round 28:40), followed by Atomic-Ruby, which tries to shrink Ruby by allowing to exclude some parts.

At 41:00 the status of the Ruby MVM project is explained as well.

Author: SASADA Koichi

Watch Video Watch Video Watch Video

Tags: Conferences, Ruby, Optimization, Languages, Multithreading, Confreaks, RubyConf 2008