upvote
I am getting into the frontend dev and one thing that I don't understand is why people use bun in the first place? It's not much better preforming, it's not much safer, it's still not 100% compliant. Some tests show it's actually slower than node. Why bother switching, then?
reply
Faster package manager

Faster startup

Typescript support out of the box

Better stdlib than node

Stdlib includes yaml, sqlite etc so you need to pull in fewer deps, so you can avoid the left-pad/is-even node_modules explosion problem to a greater extent

reply
Can't comment on others, but new Node.js also has typescript out of the box and works pretty well.
reply
I don’t think you would use Bun for front end.
reply
That's what Claude Code does at least
reply
I mean, Astro on Bun?
reply
So much of JS dev is just saying no to random new stuff, Bun included
reply
i assume it's because of all the built in tooling that node doesn't ship with.
reply
There's always deno
reply
but it's written in Rust too /s
reply
What specific technical issues are you experiencing with running Bun that would justify a change?
reply