Skip to content

pocket-stack/quickjs-oxide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

248 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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. The current TypedArray stack includes the shared 12-class kernel, in-place mutation, indexed search, QuickJS-shaped find/findIndex/findLast/findLastIndex, every/some, forEach, reduce/reduceRight, and species-aware map/filter, slice, and subarray. Its scoped gate reaches 3,721/3,721 in both engines; the complete conservative vector is 51,922/102,037. Remaining TypedArray methods, 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.

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-array-buffer.sh
./scripts/test-test262-data-view.sh
./scripts/test-test262-typed-array-core.sh
./scripts/test-test262-proxy.sh
./scripts/test-test262-full.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