Remix.run Logo
reddalo a day ago

Damn, I should have not migrated to Bun. Should I revert back to Npm?

cromka a day ago | parent | next [-]

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?

awestroke a day ago | parent | next [-]

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

fg137 7 hours ago | parent [-]

Can't comment on others, but new Node.js also has typescript out of the box and works pretty well.

vips7L a day ago | parent | prev | next [-]

I don’t think you would use Bun for front end.

frollogaston 19 hours ago | parent | next [-]

That's what Claude Code does at least

cromka 7 hours ago | parent | prev [-]

I mean, Astro on Bun?

frollogaston 19 hours ago | parent | prev | next [-]

So much of JS dev is just saying no to random new stuff, Bun included

johnny22 a day ago | parent | prev [-]

i assume it's because of all the built in tooling that node doesn't ship with.

vaughnegut a day ago | parent | prev | next [-]

There's always deno

jqbd a day ago | parent [-]

but it's written in Rust too /s

orf a day ago | parent | prev [-]

What specific technical issues are you experiencing with running Bun that would justify a change?