3 ms·
C is not a "portable assembler". An assembly language program specifies a series of CPU instructions. A C program specifies runtime behavior. That's a huge s
by _kst_ 3y ago
C is not a "portable assembler".
An assembly language program specifies a series of CPU instructions.
A C program specifies runtime behavior.
That's a huge semantic difference.
- mpweiher 3y ago"Committee did not want to force programmers into writing portably, to preclude the use of C as a “high-level assembler:” https://www.open-std.org/JTC1/SC22/WG14/www/docs/n897.pdf https://www.open-std.org/JTC1/SC22/WG14/www/docs/n897.pdf p10, line 39 "C code can be portable. " line 30