Compiling Ruby scripts
Koichi Sasada • December 11, 2015 • Chuo-ku, Tokyo, Japan • Talk
http://rubykaigi.org/2015/presentations/ko1
Ruby (MRI) 2.2 compiles Ruby scripts into bytecode (instruction sequences) at run time. This approach is simple, but has several problems such as overhead of compile time. We are working on making an Ahead of Time compiler which compiles Ruby script before executing the script. This compiler will help to reduce boot time and to reduce memory consumption on multiple Ruby processes. In this presentation, we will introduce the compiler and that mechanism.
RubyKaigi 2015