百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

brimstone

> 编程语言
开源

新的 JavaScript 引擎由 Rust 编写

1.3K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

新的 JavaScript 引擎由 Rust 编写

Brimstone

Brimstone is a JavaScript engine written from scratch in Rust with full support for the JavaScript language.

Brimstone is a work in progress but already supports almost all of the JavaScript language (>97% of the ECMAScript language in test262). Not ready for use in production.

Implements the ECMAScript specification. Heavy inspiration is taken from the design of V8 and SerenityOS's LibJS. Brimstone chooses to implement almost all components of the engine from scratch with minimal dependencies, with the notable exceptions of ICU4X and temporal_rs.

Brimstone features:

  • Complete JavaScript language and standard library, other than SharedArrayBuffer and Atomics
  • Up to date with the latest features (ES2026) and includes Temporal
  • Bytecode VM, heavily inspired by the design of V8's Ignition
  • Compacting garbage collector, written in very unsafe Rust
  • Custom RegExp engine
  • Custom parser

Building and testing

Standard cargo commands to build and run.

  • cargo build to build the bs executable
  • cargo run to run from source

JavaScript files can be executed with bs:

# Build brimstone
cargo build

# Execute a JavaScript file
./target/debug/bs ./hello.js
Hello world!

Testing

Brimstone relies heavily on a set of first and third party integration test suites, most notably the official test262 test suite. A custom integration test runner is included. This can be run with:

cargo btest

Unit and snapshot tests can be run with cargo test.

Fuzz testing can be run with ./tests/fuzz/run.sh.

For more information on testing see the testing README.

Development

Brimstone includes aliases for cargo commands in .cargo/config.toml:

  • cargo bfmt - runs the custom brimstone formatter
  • cargo btest - runs the custom integration test runner

Missing features

All features up to ES2026 have been implemented except for the following:

  • SharedArrayBuffer
  • Atomics

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustcompilerecmascriptinterpreterjavascript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言