Brimstone: ES2025 JavaScript engine written in Rust
1–10 of 125 posts
Re: Brimstone: ES2025 JavaScript engine written in Rust
#2Re: Brimstone: ES2025 JavaScript engine written in Rust
#3Could you compare it with Boa? It is written in Rust too. https://github.com/boa-dev/boa
It's impressively compliant, considering it's just a one man project! Almost as fully featured as Boa, plus or minus a few things. And generally faster too, almost double the speed of Boa on some benchmarks.
Re: Brimstone: ES2025 JavaScript engine written in Rust
#4Re: Brimstone: ES2025 JavaScript engine written in Rust
#5Re: Brimstone: ES2025 JavaScript engine written in Rust
#6Memory safety is one of Rust’s biggest selling points. It’s a bit baffling that this engine would choose to implement unsafe garbage collection.
Re: Brimstone: ES2025 JavaScript engine written in Rust
#7Could you compare it with Boa? It is written in Rust too. https://github.com/boa-dev/boa
I have some benchmark results here: https://ivankra.github.io/javascript-zoo/?v8=true It's impressively compliant, considering it's just a one man project! Almost as fully featured as Boa, plus or minus a few things. And generally faster too, almost double the speed of Boa on some benchmarks.
Re: Brimstone: ES2025 JavaScript engine written in Rust
#8Re: Brimstone: ES2025 JavaScript engine written in Rust
#9Memory safety is one of Rust’s biggest selling points. It’s a bit baffling that this engine would choose to implement unsafe garbage collection.
Rust doesn’t have the kind of high performance garbage collection you’d want for this, so starting with unsafe makes perfect sense to me. Hopefully they keep the unsafe layer small to minimise mistakes, but it seems reasonable to me.
Re: Brimstone: ES2025 JavaScript engine written in Rust
#10Memory safety is one of Rust’s biggest selling points. It’s a bit baffling that this engine would choose to implement unsafe garbage collection.
For some use cases, that means that "user code" can have no `unsafe`. But implementing a GC is very much not one of those.