logoalt Hacker News

greenavocadoyesterday at 8:53 PM1 replyview on HN

Someone suggested C++ and you should see the response from Linus

https://harmful.cat-v.org/software/c++/linus


Replies

nurettinyesterday at 11:10 PM

Of course I specifically avoided invoking that language's name within the context of kernel programming in fear of summoning a Linus.

And he's so right. I didn't think like that back then, but new/delete (which have to be overloaded for kernel) behind allocators behind containers, vtables, =0, uninitialized members, unhandled ctor errors, template magic, "sometimes rvo", compiler hints, "sometimes reinterpret cast", 3rd party libraries, it would have been a disaster 20 years ago. Now he's being nice to Rust partially to spite that lang I love some more.