MicroQuickJS
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Anyone sandboxing untrusted or LLM-generated JavaScript gains a tiny engine with built-in memory and time limits, usable today via Python, WebAssembly or a playground.
Fabrice Bellard, the programmer behind ffmpeg and QEMU, has released MicroQuickJS, a very small engine for running JavaScript on embedded devices. It needs only 10 kB of RAM and about 100 kB of ROM, a fraction of what typical JavaScript engines require. Simon Willison tested it as a sandbox for safely running untrusted code, with limits on memory, CPU time, and network or file access. Developers building such sandboxes, and hobbyists working on tiny hardware, are the main audience.
MicroQuickJS gives teams executing untrusted or AI-generated JavaScript a credible, tiny sandbox option: it enforces memory and time limits internally and exposes no file or network primitives. Willison's Claude Code experiments built working Python and WebAssembly integrations, though the WebAssembly path needed a workaround due to setjmp/longjmp error handling. Early adopters gain a robust new tool; makers of heavier sandboxing solutions face a new, free competitor from a proven author.
MicroQuickJS targets embedded systems: under 10 kB RAM and roughly 100 kB ROM as ARM Thumb-2 including the C library, with speed comparable to QuickJS and support for a rich JavaScript subset. Interrupt handlers fire even during pathological regex backtracking, so configured time limits hold under resource-exhaustion attacks. Tested integrations include FFI Python bindings, a native CPython extension, Node.js, Deno and Pyodide; wasmtime only worked with a hack because setjmp/longjmp maps poorly to WebAssembly.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.