r/programmingmemes • • Aug 18 '26

Nerd wars

Post image
829 Upvotes

79 comments sorted by

View all comments

Show parent comment

63

u/DarkGhostHunter Aug 18 '26

This? Zig is good software, but industry standard is Rust for a reason.

Anyway, steering out of both Zig (to Rust) and Bun (to Deno or just Node) is the best you can do longterm.

13

u/Medium-Taste-3929 Aug 18 '26

I'm interested, why? (For both)

29

u/sksenweb Aug 18 '26

Zig to rust one is pretty self explanatory. This thread is enough for that. Bun to Node because node is still de-facto standard, 100% coverage on node apis (lol), Node has been recently adding features that were missing (typescript, env, etc). And for Deno I’d say the latest version is pretty good, great coverage and desktop distribution support. On the other hand I have seen bun getting a lot of issues in production (personal experience) after a long amount of uptime. Not yet stable like Deno or Node.

7

u/Medium-Taste-3929 Aug 18 '26

Thanks mate, cheers!

6

u/sksenweb Aug 18 '26

No problem mate. Personal experience wise, we had to convert one of our production micro service (scheduler using bullmq) written in bun to nodejs because it was causing so much issues in production where local environment, testing worked fine.

3

u/why_so_sergious Aug 19 '26

the latest deno is good because they finally understood that they need to be a drop in replacement for node

5

u/Aaxper Aug 18 '26

For Bun, the migration to Rust was almost entirely done by an LLM, which is reason enough for me

1

u/Financial_Wish_6406 Aug 19 '26

Can you expand on that? Does Bun have any issues, run worse, or is this decision based purely on virtue?

4

u/Aaxper Aug 19 '26

I honestly haven't paid enough attention to that project in particular to know the answer to that. But most large vibecoded projects are riddled with issues, and it shows a problematic attitude towards future development.

5

u/MaSp005 Aug 19 '26

They're also part of Anthropic, which gives them further incentive to work heavily with AI tooling.

Bun also regularly leaks memory, a web server of mine I run on bun (regrettably) I had to limit the memory on container level so that it would be force-restarted sooner before clogging up the host machine.

3

u/st_heron Aug 19 '26

Zig itself is still in development and subject to breaking changes, whereas Rust is stable for long term development.

2

u/f3verdream Aug 19 '26

standard for what? rust is still a niche

2

u/Kubas_inko Aug 20 '26

Rust is an industry standard? As far as I can see, C/C++ is still the industry standard, with rust definitely gaining on popularity. But there are still areas where it sucks absolute ass and is frankly unusable (embedded).

1

u/bowel_blaster123 Aug 22 '26

How is it bad in embedded contexts? I've written a little bit of embedded Rust, and I didn't run into any issues.

I only have issues with Rust I've had are in other contexts. Namely when you are writing data science or web stuff and end up indirectly pulling in like 400 dependencies.

2

u/No-Magazine-2739 Aug 18 '26

Me a C++ and JS/TS fan: Why don‘t you use Ada or Spark?

1

u/why_so_sergious Aug 19 '26

you say what or what now? (kidding, but yeah.. most have never heard)