Programming Languages and Compilers

Compilers, Interpreters, Runtimes, and Garbage Collection

Connect program translation and execution strategies to memory-management trade-offs.

0/35Articles read
0/105Latest correct answers
105Unanswered questions
0Due for review

Loading learning records…

Interactive experiments

Playback, prediction answers and repairs are tracked separately in this browser.

Build and run the Rust implementation

Rust / WASM execution

Parse HTML and build a DOM in Rust

Run the same Rust core as WASM and inspect byte positions, tokens, DOM nodes and diagnostics.

Loading…

Local implementation (self-reported): Not recorded

Rust / WASM execution

Compute style, layout and paint in Rust

Use the parsed DOM to inspect limited CSS rules, computed styles, boxes and drawing commands.

Loading…

Local implementation (self-reported): Not recorded

Run events and interrupts in Rust

Rust / WASM execution

Parse and execute JavaScript in Rust

Run a Rust lexer, parser and evaluator as WASM; inspect bindings, function calls, return values and DOM updates.

Loading…

Local implementation (self-reported): Not recorded

Rust / WASM execution

Dispatch a click and repaint in Rust

Deliver events through the same Rust DOM, inspect capture, bubbling and propagation stops, then recompute layout and paint.

Loading…

Local implementation (self-reported): Not recorded

Run reserved work and I/O in Rust

Rust / WASM execution

Run timers and tasks in Rust

Reserve work from a click and inspect virtual time, deadlines, cancellation and task order alongside the same Rust DOM.

Loading…

Local implementation (self-reported): Not recorded

Rust / WASM execution

Inspect microtasks and paint in Rust

Follow enqueueing, draining and checkpoints, and observe the gap between a DOM mutation and committed paint.

Loading…

Local implementation (self-reported): Not recorded

Readings and practice