QuickJS
A lightweight, embeddable JavaScript engine with a small footprint and few dependencies. It is suitable for embedding in other applications to execute JS scripts.
Timeline (last 90 days)
Different products implement the "call tools with code" idea differently: Claude Code runs it in-process in a Node VM, Codex uses V8, OpenCode uses a self-developed interpreter, and Py uses QuickJS.
Embedding a lightweight JS engine (such as QuickJS or Duktape) and implementing a minimal DOM/BOM subset, or calling an external headless browser (such as Headless Chromium) to obtain the rendered DOM or plain text, are two common paths for JavaScript support.
QuickJS adopts a bytecode interpreter model; its execution speed is typically 1/10 to 1/5 that of V8, and its codebase is approximately 80,000 lines of C code.
The newly released sandbox runtime solution uses QuickJS as the underlying JavaScript engine, follows the principle of least privilege, and includes default isolation, a whitelist mechanism, and a manual approval process.
QuickJS was developed in 2019 by Fabrice Bellard, the founder of FFmpeg.
Application-layer sandboxes (such as QuickJS and WebAssembly) and system-layer sandboxes (such as Docker) represent two different philosophies of security isolation, with lightweight application-layer isolation becoming the mainstream trend.
The QuickJS sandbox starts in milliseconds and uses only a few MB of memory, whereas Docker containers typically take several seconds to start and consume tens to hundreds of MB of memory.
QuickJS is a lightweight, embeddable JavaScript engine that fully implements the ES2023 specification, is only a few hundred KB after compilation, and has a codebase of approximately 80,000 lines of C code.
QuickJS uses a bytecode interpreter model and its execution speed is not as fast as the V8 engine, which uses JIT technology.
All Facts (9)
Different products implement the "call tools with code" idea differently: Claude Code runs it in-process in a Node VM, Codex uses V8, OpenCode uses a self-developed interpreter, and Py uses QuickJS.
50%UnverifiedEmbedding a lightweight JS engine (such as QuickJS or Duktape) and implementing a minimal DOM/BOM subset, or calling an external headless browser (such as Headless Chromium) to obtain the rendered DOM or plain text, are two common paths for JavaScript support.
50%UnverifiedQuickJS adopts a bytecode interpreter model; its execution speed is typically 1/10 to 1/5 that of V8, and its codebase is approximately 80,000 lines of C code.
50%UnverifiedQuickJS was developed in 2019 by Fabrice Bellard, the founder of FFmpeg.
50%UnverifiedApplication-layer sandboxes (such as QuickJS and WebAssembly) and system-layer sandboxes (such as Docker) represent two different philosophies of security isolation, with lightweight application-layer isolation becoming the mainstream trend.
50%UnverifiedThe QuickJS sandbox starts in milliseconds and uses only a few MB of memory, whereas Docker containers typically take several seconds to start and consume tens to hundreds of MB of memory.
50%UnverifiedQuickJS is a lightweight, embeddable JavaScript engine that fully implements the ES2023 specification, is only a few hundred KB after compilation, and has a codebase of approximately 80,000 lines of C code.
50%UnverifiedQuickJS uses a bytecode interpreter model and its execution speed is not as fast as the V8 engine, which uses JIT technology.
50%UnverifiedThe newly released sandbox runtime solution uses QuickJS as the underlying JavaScript engine, follows the principle of least privilege, and includes default isolation, a whitelist mechanism, and a manual approval process.
50%