12 comments

[ 3.9 ms ] story [ 25.0 ms ] thread
Memory safety is one of Rust’s biggest selling points. It’s a bit baffling that this engine would choose to implement unsafe garbage collection.
"Compacting garbage collector, written in very unsafe Rust" got me cracking.
Just a small comparison, compiled for release:

Boa: 23M Brimstone: 6.3M

I don't know if closing the gap on features with Boa and hardening for production use will also bloat the compilation size. Regardless, for passing 97% of the spec at this size is pretty impressive.

how does this compare to existing JS engines?
Why is stuff written in rust always promoted as "written in rust" like its some magic thing?
It’s a very Blub. Rust seems ok as a language, but some young uns moving from say JS/TS think it’s amazing because they haven’t used anything else.
There's no license I can see
Author here - very cool to see this get posted! Thank you @ivankra for adding this to https://github.com/ivankra/javascript-zoo and running those benchmarks, I really appreciate it!

This started as a hobby project that I've ended up putting a lot of time into over the last three years chasing completeness and performance.

Love the name of the executable ;) For my taste it just sounds right. BS as in Bullsh#t :)