Writing *p++ = c;
to append to a buffer is just insanity, I don't know why so many people like to write "clever" code like this.
I have a buf_putc(struct buf *b, int c); which does bounds checking (and potentially growing the memory), and I've used this kind of abstraction for decades.
Same with "use after free" bugs, WHY are people malloc()ing and free()ing all over the place, and storing away pointers to things all over the place (people just looove their "objects" and stuffing pointers to things into structs and classes so now you have these insane lifetime couplings).
Ban pointer arithmetic, ban null terminated strings, ban malloc() and free() (and similar general purpose allocators), ban passing arrays without a length (and preferable have a struct ptrlen {} and pass it by value) and you eliminate 99.9999% of these bugs.
Multi threading in C is genuinely difficult because you get zero help from the compiler, but these low hanging bounds and lifetime problems can easily be eliminated with simple abstractions.
Seriously, all these snarky posts about Rust being the god language really comes off as "look how utterly superior we are as Rust programmers and look how superior the Rust language is, this would never ever happen in Rust the god language". Yes, I'm annoyed by stuff like this.
But the problem we all have with your predilection for salmonella-flavoured “food” is that inevitably you’ll then go swimming in the public pool and spread that around.
Programming languages aren’t generally a “personal choice”, they’re a matter of public safety and security.
We’re all finding out the consequences in real time of the choices made by others years or even decades ago.