News for hackers. Stuff that matters.
Re:I write games in C (yes, C) by pantalaimon on Saturday February 07, 2026 @04:17PM (#46928140)
C is not a subset of C++, there are some subtle things you can do in C that are not valid C++
Re:I write games in C (yes, C) by uecker on Saturday February 07, 2026 @04:49PM (#46928477)
Some subtle and some not so subtle.
Re:I write games in C (yes, C) by pjmlp on Sunday February 08, 2026 @03:39AM (#46932519)
It is when compared with C89, also the ISO C++ requires inclusion of ISO C standard library.

The differences are the usual that occur with guest languages, in this case the origin being UNIX and C at Bell Labs, eventually each platform goes its own merry way and compatibility slowly falls apart with newer versions.

In regards to C89 the main differences are struct and unions naming rules, () means void instead of anything goes, ?: precedent rules, implicit casts scenarios are reduced like from void pointers.