mitsuhiko: djs' JS "heap dumps" may beat real dumps for durable coding agents
mitsuhiko · x · 2026-11-08
- Developer mitsuhiko highlights djs, which effectively implements "heap dumps" for JavaScript: a running program serializes its entire execution state at any debugger breakpoint into a tiny dump (473 B, 268 B gzipped in the demo) and can resume from that exact point later inside a fresh sandbox.
- The demo runs interactively in the browser via WASM, showing a loop paused and resumed across three successive dumps.
- His take: this mechanism could work even better than a real heap dump for durable coding agents, since agent execution state can be cheaply persisted and resumed across sandboxes for long-running, interruptible tasks.
More from coding & agent
- Meta Muse mobile review: persistent VM, editable memory files, and async approvals make it a control plane — Acceptable-Web-6296 · 2026-11-08
- Interp researcher: AI coders dismiss accumulated engineering norms at their peril — voooooogel · 2026-11-08
- Full Grok thermal printer video hits YouTube, edited with Codex — billyjhowell · 2026-11-08
- Day 20 of an agent a day: a nightly Workflow Updater agent with full prompt — nlarusstone · 2026-11-08
- Visualizing model behavior in collaborative coding: fx0 vs Fable and GLM — gharik · 2026-11-08
- Qwen Code Desktop v0.27.0 ships 21-contributor batch of fixes and perf tweaks — github-actions[bot] · 2026-11-08