4 ms·
Other than HaikuOS, I can't think of any other real-world kernel written in C++. Linux, all BSDs, Windows NT, Hurd are all C. I'm not sure but I think XNU is C
by ekr 9y ago
Other than HaikuOS, I can't think of any other real-world kernel written in C++. Linux, all BSDs, Windows NT, Hurd are all C. I'm not sure but I think XNU is C as well (the wiki lists it as C/C++).
- aidenn0 9y agoWhile the kernel is C, I believe that most of the windows OS is written in C++.
- saagarjha 9y agoXNU is basically all C, with a bit of C++ for IOKit if I remember correctly.
- oscargrouch 9y agoThe new Zircon kernel now from Google fuchsia is being coded in C++ with some C interface for user program. Giving the great design it have and the leverage of Google on mobile phones, it will probably get a massive deployment in the future.