logoalt Hacker News

moomoo11yesterday at 8:30 PM2 repliesview on HN

Why do people use bun? Would like an answer from an actual experienced / staff tier or higher engineer.


Replies

srousseyyesterday at 8:40 PM

Simplicity.

bun file.ts

And it’s been this way for years.

Don’t care about what’s in a package.json file or if there is one. Can do this without tsconfig file as well.

show 1 reply
bel8yesterday at 8:58 PM

I'm no staff+, but the tooling (package manager and TypeScript runner) is very fast.

bun run is <1s for my projects, while watching for file changes. So the iteration speed is quite pleasant.