News for hackers. Stuff that matters.
Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha... by Gibbon1 on Monday May 15, 2023 @03:24PM (#35953293)
I like to point out that AVR micro's reading and writing to address 0 is legit.

On the ARM Cortex I think address 0 is the initial stack pointer value.

My opinion is NULL being something special in the language is mathy CS academics trying to turn C into a mathy abstract language. Which it ain't.

Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha... by jcelerier on Monday May 15, 2023 @04:32PM (#35954093)
C is officially a mathy abstract language since 1989, the compilers just took some time to catch up.

> 2.1.2.3 Program execution

> The semantic descriptions in this Standard describe the behavior of an abstract machine [...]

Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha... by Gibbon1 on Tuesday May 16, 2023 @02:25AM (#35958322)
The mathy version is C is useless for real programs.