Patrick Kettner - SeattleJS Conference 2017
summary
Claims that existing compilers can bring whole languages to the browser and demonstrates it by compiling Ruby Sass with Opal, patching Opal (added match_size) and modifying Sass to run inside a web worker. The build generates and runs tests for ~80 historical Sass versions, yields a full runtime of ~2.7 MB (brotli ≈ 250 KB) so it works but is heavy, and the talk points to WebAssembly / LLVM / Emscripten as the faster, binary future (examples: SQLite, Quake3, libjpeg in workers).
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:26Introduction
- 1:34Responsive Web Design
- 4:10Lexing
- 6:18SAS
- 7:52First rule
- 9:23Second rule
- 11:41Third rule
- 12:28Opal
- 14:59Test Everything
- 16:00sass
- 16:52JavaScript
- 17:37WebAssembly
- 18:54LLVM
- 23:04Web Assembly
- 27:15Final Rule
related talks
39mJavascript without javascript
34mPanel Discussion: Browsers & Wasm
41mRuby, Opal and WebAssembly
41mCreating High-Performance Web Apps with WebAssembly
32mCompilers: The Next Frontier in Web Performance
15mExotic Runtime Targets: Ruby and Wasm on Kubernetes and GitOps Delivery Pipelines
28mLet’s build with WebAssembly! by Tejas Kumar (Eng) | JSConfAM19
45mEmscripten
