News for hackers. Stuff that matters.
Re:I stopped everything and started writing C again by codr7 on Wednesday March 12, 2025 @09:53AM (#43343272)
True, if C wanted to be Rust it would be just as complicated.

But who cares?

The fact that C chooses not to nail everything down makes it a simpler and more flexible language, which is why it's sometimes preferred.

Re:I stopped everything and started writing C again by Dylan16807 on Wednesday March 12, 2025 @02:01PM (#43345964)
Undefined behavior does not make things simpler.
Re:I stopped everything and started writing C again by codr7 on Wednesday March 12, 2025 @04:09PM (#43347184)
It does too make the language simpler, and there's no way to rustle your way around that fact.
Re:I stopped everything and started writing C again by Dylan16807 on Wednesday March 12, 2025 @05:19PM (#43347791)
It makes the document describing C simpler.

It makes the C semantics you are coding against more complex. Lots of unlisted or handwaved things in the spec become problems you need to keep in mind far more often than you would with better definitions.