mruby: a Packaging Story Filled with Freedom
summary
mruby produces self-contained CLI binaries by compiling Ruby into bytecode and embedding it in C wrappers, aiming to fix distribution and startup pain points. The project demonstrates a reduction from ~41 ms to 3 ms boot time for a hello world, generates tiny artifacts like a 421 KB binary, supports cross-compile to Linux mac Windows using a Docker-based toolchain, and exposes trade-offs: no full standard library so ports require mrb gems or native work.
AI-written summary · about
chapters (13)
- 0:00Start
- 4:03Packaging in Ruby
- 5:14gem install heroku
- 11:59VAGRANT
- 16:11performance is a feature
- 18:55simple setup
- 21:45Differences with MRI
- 22:44Executing mruby code
- 28:26Testing
- 29:42Can't leverage Rubygems
- 30:47jruby-launcher
- 32:20Young Community
- 34:08Let's build things in Ruby








