Great watch but to summarize:
Bun beats Node/Yarn for package installation
Somewhat better API/DX in some ways.
Loses poorly in testing performance
Tons of incompatibility issues/performance issues in other areas.
General summary: Just don’t use Bun yet, seems like it needs some more time in the oven.
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.
Hope you enjoy the instance!
Follow the wormhole through a path of communities !webdev@programming.dev
First: it can be a lot longer than 15-30s. One project I work on takes around 90s for a fresh install. This used to be worse in older versions of npm, and it’s worse on Windows.
Second: it also affects things like CI/CD. I prefer using Yarn 2+ for that reason (all dependencies are stored as part of your repo). It might not sound like much, but 30 extra seconds does decrease your productivity more than you might think if you have to wait for it every single time.
Ugh as a system developer I’m happy when compiling anything takes less than 5min