logoalt Hacker News

asutekku • yesterday at 5:01 AM • 3 replies • view on HN

Bun is much much more lighter than node or deno. If you don't mind the controversy around the rust rewrite, it's objectively the better option in most cases.


Replies

nananana9 • yesterday at 5:25 AM

A month before the rewrite I was hitting soundness bugs on fairly trivial JS code. I remember right, under HMR re-exports of module variables caused a snapshot, and importers of the reexport saw stale values.

I reported it, watched robobun write an unhinged +300 -0 patch which quickly got LGTM'd and merged.

I hope now that we've moved past AGI and into the ASI era things are better.

lobofta • yesterday at 8:05 AM

I made a fairly straight forward webapp with Bun and let Claude check whether it was actually better than Node. Nope, Node consumed less memory and used about the same CPU as Bun. I didn't switch, because it costs tokens, but Node's reputation seem to be based on its legacy more than on today's use.

jazzypants • yesterday at 12:53 PM

"much much more lighter"? What does that even mean?

➕ show 1 reply