Brimstone: ES2025 JavaScript engine written in Rust
7 days ago
- #JavaScript
- #Rust
- #ECMAScript
- Brimstone is a JavaScript engine written in Rust with full JavaScript language support.
- It supports >97% of ECMAScript language in test262 but is not production-ready.
- Implements ECMAScript specification with inspiration from V8 and SerenityOS's LibJS.
- Features include a bytecode VM, compacting garbage collector, custom RegExp engine, and custom parser.
- Built with minimal dependencies except for ICU4X.
- Builtin objects and functions are mostly implemented to spec.
- Build and run using standard cargo commands: `cargo build` and `cargo run`.
- Execute JavaScript files with `./target/debug/bs ./hello.js`.
- Relies on test262 and other test suites; run tests with `cargo brimstone-test` or `cargo test`.
- Implements all ES2024 features and stage 4 proposals except SharedArrayBuffer and Atomics.