Learning Raku From Inside Out
summary
Practical tour of Raku internals: shows that Rakudo is a compiler that emits MoarVM/JS/Java backends, explains how variables are implemented (symbols + container scalars, binding vs assignment), demos lexical vs dynamic scoping and frames, exposes the MOP (class how, .how, submethod build/tweak/new) and the nqp bootstrap, and warns about surprises (proxy fetch can be invoked dozens of times during dispatch, precompilation makes begin run at compile time). Includes repository of runnable examples and build notes for Rakudo.
AI-written summary · about
chapters (12)
- 0:00Intro
- 3:56What is Raku
- 8:53Implementation
- 16:17Backend
- 18:58Raku Structure
- 23:04NQP Operations
- 25:48CompUnit
- 30:21Frames
- 35:06Visualizing
- 36:03Examples
- 38:56Dynamic Variables
- 56:58Pseudocode example
related talks
37mMessage in a Bottle
48mRapid Programming Language Prototypes with Ruby RACC
37mStanding on the Shoulders of Giants
19mReusing Just-in-Time Compiled Code
45mLanguage-Oriented Programming with Racket
40mJoy of Meta-Tracing Just-in-Time Compilation: More Than Just a VM Generator
33mReading RSpec — a journey of meta programming
20mBYOJ: Build your own JIT with Ruby
