Comment by manithree

2 days ago

> I was not aware of the antagonism from the Zig .. people to Rust, but it makes absolutely no sense.

Lol, have you ever watch Andrew Kelley speak? I've only seen 3 or 4 talks he's given, but he frequently makes not-so-subtle digs towards Rust. Zig's home page prominently displays "Focus on debugging your application rather than debugging your programming language knowledge" which sounds horrible to me, but is clearly an anti-rust statement. Competition is good, and Rust and Zig cater to different people, but when the primary personality behind Zig is leads the way, it shouldn't be a surprise that some tribalism-influenced followers lean hard into it.

> "Focus on debugging your application rather than debugging your programming language knowledge"

This sounds like it's made by someone who fears discovering they don't know something more than discovering they made a mistake.

I am the reverse: I would prefer to debug my programming language knowledge over debugging my application. I hate debugging applications specifically because making a mistake is SO much worse to me than discovering there is a fact I didn't know yet.

And, of course, debugging your application is discovering there are unknown unknowns in deployment, the worst of the quadrant of knowns and unknowns.

  • Debugging PL knowledge: When you do 4+4 on a Tuesday at an even numbered address it's 9 - is all your software safe against this?

“Focus on debugging your application rather than debugging your programming language knowledge” to me sounds like it is directed primarily at C and C++., it’s a much more direct translation.

  • It could also apply to Rust though. It's on the complexity scale of C++, not C.

    • I don’t disagree.

      I responded to “clearly an anti-rust statement”, which is a bit of a stretch.