4 ms·
I wonder how things have progressed from a security/stability standpoint - my OS definitely crashes a lot less, I'm guessing because there is less C in it now..
by jgalentine007 8y ago
I wonder how things have progressed from a security/stability standpoint - my OS definitely crashes a lot less, I'm guessing because there is less C in it now...
- pjc50 8y agoWhich OS? Linux and Darwin are still entirely C in the kernel, I believe. Windows is C++.
- makapuf 8y agoIt seems that windows kernel is C also : https://www.reddit.com/r/cpp/comments/4oruo1/windows_10_coded_in_c_or_assembler/ https://www.reddit.com/r/cpp/comments/4oruo1/windows_10_code...
- jgalentine007 8y agoThere was a post in that thread that I think confirms my suspicions - that most 'new' code outside the kernel is being written in C++/98 or 14.
- jcelerier 8y agothe kernel is compiled in C++ mode and has a few classes AFAIK. Has been for a very long time - Win3.1 kernel already had some C++ in it. The macos kernel driver interface, IOKit, is C++ too.
- jgalentine007 8y agoI use windows 10. Kernel is still Win32 C calls but I bet a lot of the services on top aren't.
- ygra 8y agoJust because it's a C API doesn't mean it's not C++ underneath. Heck, Microsoft's C runtime is written in C++ nowadays.