4 ms·
> if it really lived up to its old ideal of being a "portable assembly language". What "old ideal" ? Where do you believe this "ideal" was expressed? Should I
by tialaramex 4y ago
> if it really lived up to its old ideal of being a "portable assembly language".
What "old ideal" ? Where do you believe this "ideal" was expressed? Should I expect to find it in the First Edition K&R perhaps? Or in the documentation for the original C compiler? In the ANSI standard ?
C was never this mythical "portable assembly language" that's just something people say about it, mostly to ridicule it, you are engaging in Nostalgia.
- pjmlp 4y agoFrom Dennis himself, "The language is also widely used as an intermediate representation (essentially, as a portable assembly language) for a wide variety of compilers, both for direct descendents like C++, and independent languages like Modula 3 [Nelson 91] and Eiffel [Meyer 88]. " -- https://www.bell-labs.com/usr/dmr/www/chist.html https://www.bell-labs.com/usr/dmr/www/chist.html
- tialaramex 4y agoThat same document claims, "C's approach to strings works well" which, I mean I admire Dennis Ritchie but he's just wrong.
- pjmlp 4y agoMoving goalposts, you were asking who said it, the language authors did. If they are right or not, it is another matter.
- timbit42 4y agoRegarding that matter, he was wrong. I wish he'd never written the garbage that is C. It's a stain on his reputation.
- titzer 4y agoI'm willing to forgive those who move on to better ideas, but we are really stuck with this 50 years later. When most of PL land knows better than to keep digging in this hole.
- tialaramex 4y agoBut Dennis doesn't express it as an ideal, and that document is written really late -- it's citing a 1991 document in the part you just quoted, so that's after C89.