Moving the kernel to modern C
Moving the kernel to modern C
Posted Feb 24, 2022 20:30 UTC (Thu) by marcH (subscriber, #57642)In reply to: Moving the kernel to modern C by adobriyan
Parent article: Moving the kernel to modern C
Yes please, finally! Combined declarations and initializations like every other programming language. More 'const' and fewer "this variable 'may' be used uninitialized" guessing/silliness. No more reverse Christmas trees.
In even more advanced languages 'const' is the default but let's not get carried away; too much maths that could scare hardware engineers emotionally attached to their registers.
