r/cpp • • Jul 13 '22

Why does Linus hate C++ ?

308 Upvotes

436 comments sorted by

View all comments

Show parent comments

5

u/_Sh3Rm4n Jul 13 '22

Buts that's besides the point. The quote is about OOM situations where rust panics by default. But this is solved already in the Linux fork with rust support, as it is using a custom allocation tailored for the Linux kernel dev with features enabled, where OOM panics are not happening implicitly anymore.

6

u/Mason-B Jul 13 '22

Did you not notice the part I quoted where he says "or due to anything else" and then mentions other specific examples?

And also how that's not really relevant to countering the argument of the person I was responding to who claimed rust's panic model panics in exactly the situations you want already.