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.
| Question | djs | Psychoscript | quickjs-wasi | V8 isolates | scriptc | Duktape | AssemblyScript |
|---|---|---|---|---|---|---|---|
| Will my JavaScript and TypeScript run unchanged? | djs | open | quickjs-wasi | V8 isolates | open | tinyscript | tinyscript |
| How much does a call cost on ordinary code? | open | open | tinyscript | V8 isolates | scriptc | open | AssemblyScript |
| Can code I don't trust escape, or read another tenant's data? | even | even | even | tinyscript | tinyscript | tinyscript | even |
| How many sessions fit in one process, and what does an idle one cost? | open | open | open | open | tinyscript | Duktape | open |
| How long until a new session runs its first call? | djs | open | open | open | scriptc | open | open |
| Does the same input always give the same run, and who controls the outside world? | even | tinyscript | even | even | tinyscript | even | even |
| What happens when a script loops forever? | even | tinyscript | tinyscript | tinyscript | tinyscript | tinyscript | tinyscript |
| Can I save a session and restore it later, or elsewhere? | djs | Psychoscript | quickjs-wasi | tinyscript | tinyscript | tinyscript | tinyscript |
| Can I embed it in my stack? | djs | Psychoscript | quickjs-wasi | V8 isolates | even | Duktape | AssemblyScript |
- 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.