Compare engines

Each engine on the questions people ask when they run code they did not write. A cell names who is ahead on that question, by each project's own published facts, researched 5 December 2026.

QuestiondjsPsychoscriptquickjs-wasiV8 isolatesscriptcDuktapeAssemblyScript
Will my JavaScript and TypeScript run unchanged?djsopenquickjs-wasiV8 isolatesopentinyscripttinyscript
How much does a call cost on ordinary code?openopentinyscriptV8 isolatesscriptcopenAssemblyScript
Can code I don't trust escape, or read another tenant's data?eveneveneventinyscripttinyscripttinyscripteven
How many sessions fit in one process, and what does an idle one cost?openopenopenopentinyscriptDuktapeopen
How long until a new session runs its first call?djsopenopenopenscriptcopenopen
Does the same input always give the same run, and who controls the outside world?eventinyscripteveneventinyscripteveneven
What happens when a script loops forever?eventinyscripttinyscripttinyscripttinyscripttinyscripttinyscript
Can I save a session and restore it later, or elsewhere?djsPsychoscriptquickjs-wasitinyscripttinyscripttinyscripttinyscript
Can I embed it in my stack?djsPsychoscriptquickjs-wasiV8 isolatesevenDuktapeAssemblyScript
Who is ahead of whom, axis by axis: "even" when both do it, "open" when no source settles it. Each guide gives the facts and their sources.
  • djsUse djs when your host is JavaScript (Node.js, Bun, Deno, a browser or Workers) and you want broad language coverage with fuel and snapshots today, and an experimental API is acceptable. Read the comparison.
  • PsychoscriptUse Psychoscript when your agent lives in Node.js, Bun or a browser, its programs fit the subset, and runs must survive restarts while they wait on tools. Read the comparison.
  • quickjs-wasiUse quickjs-wasi when you need broad language coverage in a JavaScript or TypeScript host today, and snapshots between calls are enough. Read the comparison.
  • V8 isolatesUse V8 isolates when you need the whole language at full speed, can run each trust level in its own sandboxed process, and a call that runs too long may simply be killed. Read the comparison.
  • scriptcUse scriptc when you write typed TypeScript you trust and want a small native binary or WASI module that starts fast and uses Node.js APIs. Read the comparison.
  • DuktapeUse Duktape when your device has kilobytes of RAM, your scripts are ES5 and you trust them. Read the comparison.
  • AssemblyScriptUse AssemblyScript when you are writing new, typed code for WebAssembly and want it fast and small. Read the comparison.