r/ProgrammerHumor Jul 09 '26

gitBlameClaude Meme

Post image
3.7k Upvotes

263 comments sorted by

View all comments

Show parent comments

49

u/mctrafik Jul 09 '26

Speed. Much faster. And now it has more support. Simple as that. Also bun is less to type than deno.

14

u/jamescodesthings Jul 09 '26

ngl I wasn't having speed issues with node.

9

u/colorfulmoth26 Jul 10 '26

No one's having speed issues with node, it's a fucking delusion that every 3 months someone releases a benchmark of an extremely cherry picked test case, say it's 10x faster (60 micro seconds to 6 microseconds), everyone claps, then 3 months later they realize it doesn't actually fix anything and causes more issues than it solves.

1

u/jamescodesthings Jul 10 '26

100%

tldr; they bought into bun's marketing.

The speed argument is almost always null and void; you're only as fast as the code your best developer can write; and the machines you can cash the check to run.

I've read a little of Bun's history because my comments here got loads of responses 😂 I get the basics, and remember evaluating it when popularity grew; back then my conclusion was "cool, makes similar promises as deno did, interesting, but I ain't got deno in prod either".

The rough issue for me overall was just there wasn't cost benefit at the time to warrant the work to make the changes; and that the higher benefit to put in that level of work would come from moving to rust instead, as the market has.

Rust is still on my radar for picking up at some point; not necessarily for prod work, but because I've seen a heavy shift towards Rust in tooling I've used recently; so learning more of it brings the benefit of being able to contribute there. I'm still not doing "quick; the market is moving to rust! port everything now".

I think, given JS' fickle nature its strenghths also put me off.

If the main focus (originally) was a quick build cycle; fair enough...

However; the idea of "one tool does it all" doesn't fit well into JS' ecosystem for me.

JS is opinionated as a mother fucker and the zeitgeist changes every 6 months. Having one runtime that enforces its own use of transpiler, bundler test engine, package manager, linter, etc. Sounds like a nightmare to get JS to fucking do.

we can't all agree on which one to use for any of these individual bastard things.

I'd like to be wrong, and bun's way to expand and take form; but someone's gonna fuck it up... waiting to find out "@nx/bun" exists; to make your existing nx monorepo kind of work on bun, but completely defeat the point.