Skip to content

Repository files navigation

quickjs-oxide

An independent Rust rewrite of QuickJS, targeting semantic feature parity with the official QuickJS 2026-06-04 release and its ES2025 behavior.

The unsafe-free engine is runnable but incomplete. Its strongest covered slice is the shared ArrayBuffer/DataView/12-class TypedArray stack: resizable buffers, fixed and length-tracking views, transfers, iteration, search, mutation, sorting, species behavior, and the six Uint8Array base64/hex codecs. The 92-tag global Test262 profile also admits Proxy, optional chaining, Iterator Helpers, globalThis, and the implemented Promise surface through checksum-bound audits. The complete conservative vector is 59,699/102,037 with 60,218 runnable variants. Modules, SharedArrayBuffer/Atomics, and broad built-in coverage remain incomplete. Pinned QuickJS is the test oracle, never a product dependency; detailed bookkeeping lives in the status documents.

Open the browser playground → — it runs this Rust engine's actual WebAssembly build, not host eval. The playground is a pre-parity milestone, not a Feature Parity claim.

Try it

Rust 1.85 or newer is required.

git clone https://github.com/pocket-stack/quickjs-oxide.git
cd quickjs-oxide
./scripts/demo-42.sh  # 42
cargo run --quiet --bin qjs -- --print-result -e \
  '(function (a) { return a + 1; })(41)'  # 42

Status

Verify

cargo test --locked --workspace --all-targets
./scripts/test-test262-default-parameters.sh
./scripts/test-test262-rest-parameters-global.sh --full
./scripts/test-test262-full.sh
./scripts/test-web-playground.sh

License

MIT. Third-party notices are retained in NOTICE and LICENSES.

About

An independent Rust rewrite of QuickJS targeting semantic feature parity

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages