Hacker News new | ask | show | jobs
by creativeembassy 1021 days ago
Personal experience: Bun has been a flawless drop-in replacement for both NodeJS and npm/yarn since I started using it around v0.4. Not only have I had zero issues running it, but it's been WAY faster. No benchmarks, but very noticeable, from "let's start a new build and go grab a coffee while waiting for it" on NodeJS, to "hit run aaaaand it's done."

I haven't thought twice about it. Frankly, I forgot that bun has been happily running behind the scenes for me. I highly recommend anyone using NodeJS to give it a go.

2 comments

I've worked on several large node.js codebases and builds never took more than a few seconds, def. not "go grab coffee" time, so maybe something else was going on.
It’s not uncommon to have a nodejs library take like 10-15 mins to go through building and testing in GitHub actions CI
But that’s probably more about tests and github resources than raw build times.
Average angular apps take at least 4 min in release mode on machine.
Get a new machine
As a response to performance issues? Always very valid!
>and testing

And Bun is going to improve that?

So it means you'll drink less coffee, and it's not good for productivity reason.