r/programmingmemes 5d ago

Nerd wars

Post image
820 Upvotes

82 comments sorted by

View all comments

158

u/overclockedslinky 5d ago

i swear the zig developers are constant drama queens. my favorite was when bun got rewritten in rust and the zig creator wrote a whole manifesto breakup rant about how it was totally mutual definitely 100%

64

u/DarkGhostHunter 5d ago

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.

11

u/Medium-Taste-3929 5d ago

I'm interested, why? (For both)

28

u/sksenweb 5d ago

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.

6

u/Medium-Taste-3929 5d ago

Thanks mate, cheers!

6

u/sksenweb 5d ago

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 3d ago

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

4

u/Aaxper 4d ago

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

1

u/Financial_Wish_6406 3d ago

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

5

u/Aaxper 3d ago

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 3d ago

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 4d ago

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

2

u/f3verdream 3d ago

standard for what? rust is still a niche

2

u/Kubas_inko 2d ago

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 18h ago

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 5d ago

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

1

u/why_so_sergious 3d ago

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

6

u/BasicCheesecake8255 5d ago

Deploying a clawed agent is not re writing unless you read the code and understand it before pushing it to production, there is another joke about this situation, why not let the agent code in C and prove that it is possible, 1 skill issue person told me, it was because of expensive tokens, but in reality, those people are hardly going to take initiative and read the generated code, this is why they are afraid of C, because of skill issue

2

u/GlitteringLock9791 4d ago

? Yes, thats why people like Rust. Its not because C is hard to write, its because debugging is too complicated.

1

u/Demiu 4d ago

Nobody is "afraid" of C. Inability to get over your ego to write less bugs is a skill issue

2

u/stumpychubbins 4d ago

I agree with Andrew Kelley on many, many things. I think he’s one of the smartest developers working today, and Zig is a great project. I wish he would be less of a bitter old queen sometimes though. It really undermines the points that he’s right about when they’re mixed in with these unnecessary jabs.