Rust in the 6.2 kernel
Rust in the 6.2 kernel
Posted Nov 17, 2022 17:03 UTC (Thu) by rillian (guest, #11344)In reply to: Rust in the 6.2 kernel by atnot
Parent article: Rust in the 6.2 kernel
FWIW re our editor's difficulty, the C++17 standard library has a similar construction with std::string_view vs. std::string. Rust "simplifies" things a bit by making the string_view the same thing as a const std::string& and keeping track of the relative lifetimes of the two. In C it's all the same thing, of course.
