| ▲ | cromka a day ago | |||||||||||||
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 | ||||||||||||||
| ||||||||||||||
| ▲ | vips7L a day ago | parent | prev | next [-] | |||||||||||||
I don’t think you would use Bun for front end. | ||||||||||||||
| ||||||||||||||
| ▲ | 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. | ||||||||||||||