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.
Am I wrong to think that if you are REALLY crippled by the "slow speed" of node, you just shouldn't be using JS from the beginning?
In my opinion, any advancement is worthwhile, even if current consensus is that it’s over-optimization. And if it starts tying up its loose ends, it’ll no doubt benefit node developers as well. Healthy competition and all that.
I’m with you on that. I’ve built dozens and dozens of node apps both professionally and for personal projects and yeah maybe the package installs could be faster, but the overall performance of the server has also been pretty good. If node is slow for you, maybe there’s some other optimizations to be made rather than switching the next new things as a solution.
Bun no good => ☹️
Don't have to learn another shiny JS thing => 😀exactly me right now.
This is mildly off topic, but is that thumbnail an Animorphs reference?
damn you for making me notice, but it totally is…
So, Bun claiming to be faster than Node is bull****, basically.
Pretty much. Their benchmarks seem to be VERY cherry picked to skew things in their favour, specially the testing framework part, where bun compares its speed to one of the slowest testing frameworks out there (jest) and claim victory.
I'm very glad that this guy actually made benchmarks instead of just reading what's on bun's site before posting a video about it.
Bun is blazingly faster than node*
*As a package manager
Not at every turn though. Also it runs on Webkit instead of Googles V8 :)
I guess you could call it, a bun(ch) of trash.
Or perhaps, it's all complete bun-shit.
sorry
debunked
Recently change node+npm+esbuild to bun runtime+package management+bundling and happy with the result.
The project is a static site built with middleman, tailwind, postcss and some frontend libraries.
It was simpler to work with for me. Node is way faster than ruby and so node speed was never an issue for me. But bun install is noticeably faster even for a small project.
deleted by creator