Opal: The Journey From JavaScript to Ruby
summary
Opal compiles Ruby into JavaScript so Ruby runs in the browser as actual JS, shipping an implementation of corelib, source maps that yield Ruby stack traces, and wrappers for jQuery, React and the browser; it claims production use for years, targets Ruby 2.0 compatible semantics with pragmatic compromises, reports performance as blazingly fast, and a minified runtime of about 50 kilobytes. Real builds include opal irb and opal-browser and they integrate with the Rails asset pipeline, so Ruby-front ends actually work.
AI-written summary · about
chapters (9)
- 0:00Start
- 7:43Ruby's advantages
- 17:50Opal's Perceived Complexity
- 18:27Performance
- 18:54File Size
- 20:15Ruby compatibility
- 21:01Notable differences
- 22:06Opal Complexity
- 26:45Opal Resources








