~/talk

Evaluate Ruby Without Ruby

Talkat RubyConf 2016 · 2016-11-10..11-12· [ruby]
slides:none on file

Claim: Ruby DSL can run without MRI by embedding mruby, producing a single binary either via go-mruby (Go + mruby bridge) or mruby-cli (pure mruby). Built Mitamae (Itamae reimplementation) and shows mruby-cli startup is 33× faster (700 ms → 23 ms). Tradeoffs: go-mruby forces brittle bridging and three-language maintenance; mruby-cli keeps Ruby but requires writing mrbgems in C (example: mrbgem Open3 implementing spawn) and some API features remain incomplete.

AI-written summary · about

  1. 0:00Intro
  2. 1:38Example Ruby DSL for server provisioning
  3. 2:32How is Ruby DSL implemented?
  4. 4:31Ruby DSL use case at Cookpad
  5. 5:55Problem to bootstrap development environment using MRI
  6. 7:16How can we remove dependency of MRI?
  7. 8:24Embedding mruby into software
  8. 9:08How to embed and use mruby
  9. 11:272 ways to build portable CLI apps configured by Ruby DSL
  10. 12:56How to run Ruby scripts from Go
  11. 13:59How to implement Ruby DSL in Go
  12. 17:38Why did we need Go language?
  13. 20:37How to implement Ruby DSL with mruby-cli
  14. 25:20Merits to build CLI apps using mruby-cli
  15. 26:38Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.