Main Content

Towards a Ruby compiler

A talk by at RubyConf 2009

About the Talk

November 20, 2009 4:30 AM

San Francisco

San Francisco

Because of its dynamic nature, Ruby is very difficult to optimize; as a result it is a slow language. It has long been an unrequited dream of mine to write a fully static Ruby compiler, which converts Ruby into efficient, directly executable machine code. I had given it up as infeasible, but some recent advances in the state of the art have filled in the last missing pieces and put a practical Ruby compiler within reach.

I will be talking about Ocelot, my implementation of these ideas. Ocelot is an experimental (meaning, unfinished) implementation of Ruby, but my goal is that it will be able to handle all (well, almost all) of the hard parts of implementing Ruby while providing improved performance.

Ratings and Recommendations

Avg. Rating

Average based
on 2 ratings

comments powered by Disqus