Compiling Ruby 2.1 to bytecode

Viewed 1908

While Ruby 1.9 was compiling to bytecode, it could not save a pre-compiled script to disk.

We were told to expect Ruby 2 to allow saving compiled bytecode to disk, but I haven't heard much talk of that, or seen bazillions of blog posts describing how to gain performance through compilation, which I would expect to see if it were in fact implemented somewhere in Ruby 2.x.

A focused Google search doesn't seem to return anything useful.

Is it possible in 2.1 (or earlier)? If not, is this still on the roadmap?

2 Answers
Related