Moving the kernel to modern C
Moving the kernel to modern C
Posted Feb 26, 2022 22:16 UTC (Sat) by camhusmj38 (subscriber, #99234)In reply to: Moving the kernel to modern C by Wol
Parent article: Moving the kernel to modern C
The two aspects of C++ that are usually disabled are RTTI and exceptions. GCC and Clang both disable at least one if not both of the features (I believe GCC both and LLVM at least RTTI). C++ code which just uses RAII and non-virtual methods (an awful lot of modern C++ code) optimises to the same as equivalent C but does not really on people remembering to do all the manual steps and help abstract. Apple and Microsoft both have standards for Kernel mode C++ that could be used as a starting point if need be.
