RubyConf 2019 - What's happening when initializing mruby? by Yurie Yamane and Masayoshi Takahashi
Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=E05ACAZSXDI
RubyConf 2019 - What's happening when initializing mruby? by Yurie Yamane and Masayoshi Takahashi
Like MRI, mruby initializes all classes before execution. This has a negative impact on Ruby's initialization speed and memory. This increase in memory usage is particularly fatal for mruby. We have created a new mrbgem to solve this issue. The key idea is pre-execution; we actually run mruby and do initialization, generate the structures in the form of C source code, and recompile it. In this session, we will look at the initial behavior of the mruby through an introduction to our tools.
#rubyconf2019 #confreaks
Other Videos By Confreaks
Tags:
Ruby
RubyConf
Programming