by enriquto · 6y ago · 0 comments
The C spec allows one's complement arithmetic, but how many programs would break horribly on such a machine?
I will claim that most other languages specifications only seem so straightforward because they have a simpler execution model, where some of the things you can do in C are simply not possible, or where the spec is exclusively targeted at more modern machines. (And that's a good thing for most applications).
However, C has quite a bit of ugliness in its own definition, and it might be possible to remove a lot of that.