Rockstar 2.0: Building an Esoteric Language Interpreter in .NET
summary
A joke language becomes a real implementation: an initial Rockstar interpreter in JavaScript gains a language‑agnostic test suite, attracts 42,000 PicoF users and MIT use, and someone solves Advent of Code in Rockstar; the project is then rewritten in C# to target .NET 8 native AOT and WebAssembly, using a PEG library (Pegasus) for parsing, JavaScript worker + JSExport interop for safe browser runs, poetic literals and “ninja strings,” and it runs as native binaries and in the browser.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 3:00Rockstar as a joke
- 9:51Rockstar goes viral
- 14:06JavaScript to C# and .NET
- 17:53Building interpreter in C#
- 20:55Rockstar type system
- 23:35Parsing with PEG grammar
- 26:17Statements and expressions
- 27:25Fixing JavaScript mistakes
- 30:28Ending blocks
- 31:38WebAssembly in browser
- 34:34Ninja strings in 2.0
- 35:15Live demo
- 37:24Q&A
related talks
45mEmscripten
27mToward a language-neutral browser VM
01h 14mC++ on the Web: Ponies for developers without pwn’ing users
34mBack to the FUTURE! From C++ to JS
26mRib, a language that I built that could improve the ecosystem of WASM
34mPanel Discussion: Browsers & Wasm
32mJavaScript is the new metal the cloud vs the browser
40mKeep Betting On JavaScript
