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. Oce...
View More