frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Brimstone: ES2025 JavaScript engine written in Rust

https://github.com/Hans-Halverson/brimstone
58•ivankra•3h ago

Comments

maxloh•2h ago
Could you compare it with Boa? It is written in Rust too.

https://github.com/boa-dev/boa

ivankra•1h ago
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.

mrec•50m ago
Surprised at the lack of a license though.
nicoburns•8m ago
Interesting. Hermes and QuickJS both come out looking very good in these (in terms of performance vs. binary size)
cluckindan•1h ago
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.
swiftcoder•1h ago
The whole point of unsafe is to be able to circumvent the guardrails where the developer knows something the compiler isn't (yet) smart enough to understand. It's likely that implementing a high-performance GC runs afoul of quite a few of those edge cases.
scratcheee•22m ago
The obvious use-case for unsafe is to implement alternative memory regimes that don’t exist in rust already, so you can write safe abstractions over them.

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.

nicoburns•11m ago
Even using something as simple as Vec means using `unsafe` code (from the std library). The idea isn't to have no `unsafe` code (which is impossible). It's to limit it to small sections of your code that are much more easily verifiable.

For some use cases, that means that "user code" can have no `unsafe`. But implementing a GC is very much not one of those.

fgallih•32m ago
This is the first Rust project I’ve wanted to use, mostly because they say GC uses very unsafe Rust. That’s a sign that they’re using Rust effectively IMO, as who in the fuck would write a garbage collector using garbage collected Rust?
MattRix•6m ago
Rust is not garbage collected though.
chiffaa•5m ago
> who in the fuck would write a garbage collector using garbage collected Rust?

Rust is not garbage collected unless you explicitly opt into using Rc/Arc

boianmihailov•5m ago
"Compacting garbage collector, written in very unsafe Rust" got me cracking.

Brimstone: ES2025 JavaScript engine written in Rust

https://github.com/Hans-Halverson/brimstone
60•ivankra•3h ago•13 comments

Running the "Reflections on Trusting Trust" Compiler

https://research.swtch.com/nih
12•naves•57m ago•0 comments

AirPods libreated from Apple's ecosystem

https://github.com/kavishdevar/librepods
939•moonleay•14h ago•247 comments

Anthropic's report smells a lot like bullshit

https://djnn.sh/posts/anthropic-s-paper-smells-like-bullshit/
366•vxvxvx•3h ago•132 comments

The politics of purely client-side apps

https://pfrazee.leaflet.pub/3m5hwua4sh22v
8•birdculture•1h ago•1 comments

The Internet Is No Longer a Safe Haven

https://brainbaking.com/post/2025/10/the-internet-is-no-longer-a-safe-haven/
23•akyuu•1h ago•5 comments

Measuring the doppler shift of WWVB during a flight

https://greatscottgadgets.com/2025/10-31-receiving-wwvb-with-hackrf-pro/
23•Jyaif•1w ago•0 comments

Maybe you’re not trying

https://usefulfictions.substack.com/p/maybe-youre-not-actually-trying
206•eatitraw•4h ago•82 comments

My mum was a 17-year-old free spirit so she was locked up and put in a coma

https://www.bbc.co.uk/news/articles/cr43vx0rrwvo
38•binning•1h ago•10 comments

IDEmacs: A Visual Studio Code clone for Emacs

https://codeberg.org/IDEmacs/IDEmacs
245•nogajun•13h ago•94 comments

Run Nix Based Environments in Kubernetes

https://flox.dev/kubernetes/
62•kelseyhightower•5d ago•13 comments

UK's first small nuclear power station to be built in north Wales

https://www.bbc.com/news/articles/c051y3d7myzo
89•ksec•4h ago•106 comments

Things that aren't doing the thing

https://strangestloop.io/essays/things-that-arent-doing-the-thing
368•downboots•20h ago•178 comments

Writing a DOS Clone in 2019

https://medium.com/@andrewimm/writing-a-dos-clone-in-2019-70eac97ec3e1
42•shakna•1w ago•17 comments

libwifi: an 802.11 frame parsing and generation library written in C (2023)

https://libwifi.so/
130•vitalnodo•16h ago•11 comments

In Praise of Useless Robots

https://thereader.mitpress.mit.edu/in-praise-of-useless-robots/
22•pseudolus•3d ago•7 comments

Our investigation into the suspicious pressure on Archive.today

https://adguard-dns.io/en/blog/archive-today-adguard-dns-block-demand.html
1658•immibis•1d ago•407 comments

Blocking LLM crawlers without JavaScript

https://www.owl.is/blogg/blocking-crawlers-without-javascript/
164•todsacerdoti•15h ago•78 comments

Bypassing the Branch Predictor

https://nicula.xyz/2025/03/10/bypassing-the-branch-predictor.html
39•signa11•8h ago•18 comments

I don’t need a Steam Machine

https://brainbaking.com/post/2025/11/why-i-dont-need-a-steam-machine/
101•ingve•4h ago•159 comments

Boa: A standard-conforming embeddable JavaScript engine written in Rust

https://github.com/boa-dev/boa
249•maxloh•1w ago•66 comments

When did people favor composition over inheritance?

https://www.sicpers.info/2025/11/when-did-people-favor-composition-over-inheritance/
204•ingve•1w ago•158 comments

Linux on the Fujitsu Lifebook U729

https://borretti.me/article/linux-on-the-fujitsu-lifebook-u729
196•ibobev•23h ago•138 comments

The inconceivable types of Rust: How to make self-borrows safe (2024)

https://blog.polybdenum.com/2024/06/07/the-inconceivable-types-of-rust-how-to-make-self-borrows-s...
99•birdculture•15h ago•16 comments

Why use OpenBSD?

https://www.tumfatig.net/2025/why-are-you-still-using-openbsd/
54•akagusu•2h ago•42 comments

“The Fall of Icarus”: Photograph of a falling skydiver in front of the Sun

https://www.iflscience.com/the-fall-of-icarus-you-have-never-seen-an-astrophotography-picture-lik...
31•doener•3h ago•5 comments

AsciiMath

https://asciimath.org/
129•smartmic•17h ago•41 comments

Alchemy

https://joshcollinsworth.com/blog/alchemy
5•tobr•6d ago•2 comments

Transgenerational Epigenetic Inheritance: the story of learned avoidance

https://elifesciences.org/articles/109427
157•nabla9•20h ago•90 comments

An exposed .git folder let us dox a phishing campaign

53•spirovskib•5h ago•14 comments