3 ms·
Right. Now show me some widely used OS kernel written in C++. No, not some research thing. Becaue I hear all the time C++ is a system level language, yet it is
by pkolaczk 13y ago
Right. Now show me some widely used OS kernel written in C++. No, not some research thing. Becaue I hear all the time C++ is a system level language, yet it is most widely used to write games and desktop apps, not systems.
- pandaman 13y agoConsole games are system level software, accessing hardware directly. But if you want specifically the OS kernel then XNU should satisfy you.
- pkolaczk 13y agoConsole games are just applications like any other PC game. They access hardware by communicating with OS services. The only difference is in consoles you exactly know your hardware and you can make better use of it and OS provides less than a full blown PC OS. But this is not related to Java vs C++ debate. Java is capable of accessing hardware directly. There is even some hardware that directly runs Java or some low-end embedded systems running Java. As of XNU, it is mostly pure C. There are a few C++ files there but they are very far from what we call "modern C++". No templates, no use of standard library, no exceptions, const char* everywhere. Just C with classes.
- pandaman 13y agoIt appears you are either trolling or simply don't know what are you talking about. Either way there is nothing to be gained from this discussion for either of us.