4 ms·
"Pure C" doesn't really mean anything, but if it did mean something it would mean "only C", not "only standard C", wouldn't it?
by djur 3y ago
"Pure C" doesn't really mean anything, but if it did mean something it would mean "only C", not "only standard C", wouldn't it?
- pjmlp 3y agoThe programming language C is defined by ISO C, this isn't 1970's any longer. Thus pure C, by definition is what the said standard since 1989 says what the programming language and standard library is supposed to be.
- torstenvl 3y agoThis is objectively untrue, and everyone knows it. A huge amount of C code in the real world goes beyond ISO C. Saying that "C" consists only of what is in the ISO standard is ideological flamewar.
- pjmlp 3y agoThe world is full of impure C. Objectively we have a clickbait title.
- quelsolaar 3y agoYes, and much of what is in the later versions of the C standard haven't been adopted widely by C programmers.
- djur 3y agoUsing system and vendor libraries is part of the C language. We're not talking about language extensions here, we're talking about #include <unistd.h>.
- pjmlp 3y agoThere is a reason why they are called system and vendor libraries, and not standard library. They are third party libraries, outside the language reference.