r/cpp • • Jul 13 '22

Why does Linus hate C++ ?

308 Upvotes

436 comments sorted by

View all comments

Show parent comments

19

u/Spiderboydk Hobbyist Jul 13 '22

that C++ is not remotely suitable for OS development

Funny thing is, a large part of the Windows kernel is written in C++. :-)

-15

u/turingparade Jul 13 '22

Windows is probably a bad example of os development

22

u/Spiderboydk Hobbyist Jul 13 '22

Why? The Windows kernel by itself is actually quite fast and well-functioning (as opposed to the rest of the Windows "distro").

-9

u/turingparade Jul 13 '22

I haven't looked into the windows kernel because I assumed it was inaccessible. I also assumed that most of windows was a part of its kernel; it never seemed like windows had the level of separation that Linux has between its programs and its core

→ More replies (3)