Rust in the 6.2 kernel
Rust in the 6.2 kernel
Posted Nov 18, 2022 18:02 UTC (Fri) by khim (subscriber, #9252)In reply to: Rust in the 6.2 kernel by farnz
Parent article: Rust in the 6.2 kernel
If someone claims that use of std::string_view doesn't lead to the problems then you can safely say that it's another crop of the “just don't do any mistakes and then C works fine… oh, and don't upgrade the compiler ever because these evil guys make it break it my programs”, just with C++ theme.
Here is discussion about dangers of std::string_view on the Core Guidelines site, here is article with more arguments and there are more, but they all are, obviously, wrong, because admitting that they are right means years of investment in C++ are in jeopardy.
Just leave these guys alone. It's the same thing as with systemd introduction: there would be lots of complains and there would be holdouts and yet it would happen in the classic planck's principle way:
