Re:Google, Xiaomi, and Huawei affected by zero-day flaw that...
by jumpingmice on Sunday October 06, 2019 @12:00PM
(#21172806)
Goto is only de rigueur in terrible languages that are unable to release function-local resources automatically. It is an intentional choice by kernel authors to ignore all progress in our field after 1988 and insist on writing everything in C. It’s not the goto statements that are the problem, rather it is the culture that necessitates them.
[ Parent
| on HN ]
Re:Google, Xiaomi, and Huawei affected by zero-day flaw that...
by neop1x on Monday October 07, 2019 @05:24AM
(#21178880)
Do you realize how big the kernel source is? No one wants to rewrite it to C++. Also C++ compiles slower and can be more difficult to read, depending on code style and features used. C++ is also far more fragile regarding compiler compatibility and sometimes spits rather confusing error descriptions.