Moving the kernel to modern C
Moving the kernel to modern C
Posted Feb 26, 2022 2:34 UTC (Sat) by foom (subscriber, #14868)In reply to: Moving the kernel to modern C by khim
Parent article: Moving the kernel to modern C
And this sort of bad idea is why the kernel is only possible to compile with optimizations enabled.
It would be a lot better if Linux used c++ constexpr functions and templates for compile time evaluation semantics, instead of abusing the optimizer to very poorly emulate them.