TBA
summary
mrb (mruby) compiles a small Ruby subset into a single binary and can build in 10–15 seconds, run bundled tests in ~0.18s, and produce self-contained executables that statically link C libraries like discount and oniguruma for portability. The workflow clones trunk, runs rake to generate bytecode functions per gem, and embeds everything into one executable; cross‑compilation via MinGW or CocoaPods for iOS is demonstrated. Limits include no eval/require, 1024‑byte string and ~1024 local‑variable ceilings, VM‑per‑thread recommendation and no GIL.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 3:41Packaging Ruby everywhere matters
- 11:28What is mruby and how it works
- 19:12Static site generator with mruby
- 25:58Cross-compiling mruby for targets
- 30:17Caveats and limitations of mruby
- 32:24Adoption and use cases of mruby
- 33:30Embedding mruby in iOS
- 34:33Future of mruby and closing








