Moving the kernel to modern C
Moving the kernel to modern C
Posted Feb 26, 2022 0:26 UTC (Sat) by camhusmj38 (subscriber, #99234)Parent article: Moving the kernel to modern C
It always amuses me how C programmers / Linux Kernel types disavow C++ and then proceed to recreate C++ features using a mixture of macros and a hope that everyone is on their best behaviour. I seem to recall that this was why GCC moved to using C++ because it has features that help when working with data structures (RAII, methods etc.)
No one is saying you have to use RTTI or exceptions although templates won’t be the worst idea in some of these cases if used properly.
No one is saying you have to use RTTI or exceptions although templates won’t be the worst idea in some of these cases if used properly.
