logoalt Hacker News

arendtiotoday at 12:02 PM7 repliesview on HN

Why is there so much buzz around bun? Can't we just go back to node + npm + vitest + vite?


Replies

virajk_31today at 12:39 PM

Breaking: JavaScript developers create three new frameworks/kits while you were reading this sentence.

show 1 reply
root_axistoday at 2:42 PM

> Can't we just go back to node + npm + vitest + vite?

You're kind of stating the reason for the buzz there: one runtime that does everything you need rather than cobbling together a dozen different tools.

Not that there's a problem cobbling together different tools made to do a job, each tool has a purpose and solves a problem, but having all problems solved out of the box is very convenient.

Bun does offer an additional major advantage, i.e. the bundler has a runtime API, so the same process that serves your assets can also bundle them in memory without having to coordinate an external bundler writing static files to disk.

andyflemingtoday at 12:05 PM

There’s a project Nub that is meant to bring the benefits of bun to node, which you might appreciate. It also may articulate that gap as to why people like using bun.

https://nubjs.com

show 1 reply
coldteatoday at 12:08 PM

>Can't we just go back to node + npm + vitest + vite?

The mere enumeration shows how bad it is.

show 3 replies
paxystoday at 2:22 PM

Every new framework gets buzz on HN and is forgotten a day later. Meanwhile 99% of developers never left node + npm + vite in the first place.

rapindtoday at 12:03 PM

At this point, I'm not sure anyone should still be using npm.

show 2 replies
epolanskitoday at 12:37 PM

Node is too slow, plain and simple.

I've experimented a lot with all nodes up to 24 latest and bun has consistently led to sizeable speed ups.