3 ms·
> 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 s
by manithree 2mo 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.
- chaz72 2mo ago“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.
- inigyou 2mo agoIt could also apply to Rust though. It's on the complexity scale of C++, not C.
- chaz72 2mo agoI don’t disagree. I responded to “clearly an anti-rust statement”, which is a bit of a stretch.
- manithree 2mo agoI don't see how that's possible. It's clearly stating that zig is not in the static (compile-time) safety checking camp. The message is, don't ensure correctness at compile-time, find your errors in the debugger. C++ doesn't force you to use RAII. C has nothing of the sort. Only Rust (of the major, currently fashionable languages) has a borrow checker that has a well-deserved reputation for having a steep learning curve, and no easy way around.
- KPGv2 2mo ago> "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.
- inigyou 2mo agoDebugging 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?