this post was submitted on 16 Nov 2025
24 points (92.9% liked)

Rust

7520 readers
6 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
top 7 comments
sorted by: hot top controversial new old
[–] sik0fewl@lemmy.ca 9 points 2 weeks ago (1 children)

This is interesting.

Compacting garbage collector, written in very unsafe Rust

[–] innocentz3r0@programming.dev 1 points 2 weeks ago

Why not use MMTk instead of writing your own? MMTk already has bindings for V8, so it already has some level of support for Javascript, and seems to be better in the long run.

[–] TehPers@beehaw.org 4 points 2 weeks ago

This is super cool! I love seeing these new implementations of JS. boa is another JS runtime written in Rust as well.

I'm curious how easy it is to embed this. Can I use it from another Rust project? Can I customize module loading behavior, or set limits on the runtime to limit CPU usage or memory usage or intercept network calls? Can I use it from a non-Rust project? Or is this intended to be a standalone JS runtime called from the CLI? I've been looking at Boa as a JS engine for one of my projects, but I'm open to checking out brimstone too if it'll work.

[–] sugar_in_your_tea@sh.itjust.works 2 points 2 weeks ago (1 children)

Would be cool to have a comparison with bun.

[–] blazebra@programming.dev 2 points 2 weeks ago (1 children)
[–] FizzyOrange@programming.dev 2 points 2 weeks ago

Bun uses JavaScriptCore. Deno uses V8.

But yes it would be good to see a comparison to JavascriptCore and V8.

[–] blazebra@programming.dev 1 points 2 weeks ago

There’s many components which could be split out from this JS engine such as Regex.

I’d love to see how it passes all ECMA tests