3 ms·
If you consider the C specification beautiful it can only be because anything ugly is simply left unspecified. Large parts are simply missing. It only seems str
by pjc50 7y ago
If you consider the C specification beautiful it can only be because anything ugly is simply left unspecified. Large parts are simply missing. It only seems straightforward because so many of the weird architectures and platforms have failed and we're left with 32/64 Intel/Arm as the only ones most authors consider.
The C spec allows one's complement arithmetic, but how many programs would break horribly on such a machine?
- jstimpfle 7y agoI neither consider the C specification beautiful, nor do I think that large parts are missing. In fact, the specification goes to great lengths to allow implementations on a wide range of computers. 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).