Javascript without javascript
summary
Demonstrates that Ruby libraries compile to browser JavaScript using opal and webpack, lands a working local Sass runtime called offline sass club after several hundred string-replace patches, rewrites parts of Sass and opal, and converts ~3,000 test assertions so the suite runs in every modern browser with web workers (IE10 excluded). Resulting artifact is functional but heavy — ~2.7 MB of JS — and motivates moving to WebAssembly for much faster startup and smaller delivery.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 2:35CodePen
- 8:43Ruby
- 12:20Recompile
- 12:32Transpiling
- 13:47Opal
- 16:30Testing
- 18:36Working in 80 versions
- 19:56JavaScript size
- 21:07WebAssembly
- 22:46MScripting
- 26:08Why is this important
- 30:02What is WebAssembly
- 32:18Virtual DOM
related talks
28mPatrick Kettner - SeattleJS Conference 2017
30mOpal: The Journey From JavaScript to Ruby
35mWriting web application in Ruby
41mRuby, Opal and WebAssembly
22mExtending JavaScript with Rust
26mFrom Server to Client: Ruby on Rails on WebAssembly
45mEfficient Ruby to Javascript Compilation and Applications
30mWhy Should You Consider JavaScript on WebAssembly?
