News for hackers. Stuff that matters.
Re:I'm too dumb for Zig's new IO interface by kstenerud on Saturday August 23, 2025 @07:18AM (#44995125)
Quite right. I have 35 years of C under my belt. I can write it in my sleep.

But even so, I can't for the life of me write C code that's as safe as Rust. There are just too many ways to make subtle little mistakes here and there, incrementing a typed pointer by a sizeof by mistake thinking it's a uintptr_t, losing track of ownership and getting a use-after-free, messing up atomic access, mutex deadlocks oh my...

And that's with ALL warnings enabled in CLANG. It's even worse with the default warnings.

There are no comments on this comment yet.