4 ms·
they aren't part of whatever standard yet they are still pure C. Pure C is not a well defined term but it refers to the fact that only the C language was used f
by halayli 3y ago
they aren't part of whatever standard yet they are still pure C. Pure C is not a well defined term but it refers to the fact that only the C language was used for the project. Which C version and whether other libs have been used is not part of the term.
- pjmlp 3y agoPure C means the programming language C, defined by an international standard called ISO C, since 1989.
- tom_ 3y agoI think that's "Standard C"? Pure C surely just means you're only using C. As in, no C++ or Objective C or whatnot. Nothing wrong with calling out to POSIX functions, at least nothing not already obvious.
- pjmlp 3y agoPure C means using the programming language C, alongside its standard library, without any kind of extras. This "pure c" won't compile with any random C compiler, unless it happens to be a C compiler in a POSIX environment.
- jstimpfle 3y agoUsing an API in a language says nothing definite about how that API is implemented. The API could well be implemented in what you call "pure C". So that term isn't very meaningful in the way you claim it is, and there is no need for you to be policing it. If it was about "dependency free" could maybe agree more. The term is often used to indicate that the source code of the project itself does't make significant use of other languages like C++, and to allude to a sense of simplicity (which is often subjective).
- pjmlp 3y agoA point of view I disagree with, there is no point using pure C in the title, when it clearly isn't. This is HN, we police articles after all.