Building CLI Apps for Everyone
summary
Claims a practical toolchain: mruby-cli plus a Docker build image produces a single statically linked binary that can cross-compile for Linux OSX and Windows. Measured startup drops from about 40 milliseconds (MRI hello world) to 3 milliseconds and example OSX binaries are ~421 kilobytes. Demonstrates building and testing (unit mtest and bintest), shows a real reuse: jruby-launcher rewritten as njruby using mruby-cli, and notes mrbgems and stdlib limitations.
AI-written summary · about
chapters (23)
- 0:00Introduction
- 2:45Packaging in Ruby
- 10:50Using Ruby instead of other languages
- 12:29Performance is a feature
- 14:06Single binary
- 15:33Simple setup
- 17:42What is MovCy
- 18:26Where is MovCy used
- 19:06MovCy vs EmRuby
- 19:48Not ThreadSafe
- 20:28Running Ruby Code
- 27:25Unit Tests
- 28:44Integration Tests
- 29:12Rubygems
- 29:49Crosscompiling
- 30:39JRuby Launcher
- 31:19Sun Microsystems
- 31:55JRuby
- 33:10AmberBcl
- 34:07Mov CLI
- 34:58How to build a binary
- 36:25Community
- 36:52QA








