The Rust for Linux project
The Rust for Linux project
Posted Sep 17, 2021 16:42 UTC (Fri) by pbonzini (subscriber, #60935)In reply to: The Rust for Linux project by moltonel
Parent article: The Rust for Linux project
It's not about the correctness, it's the complexity. For me reviewing Rust means constantly asking myself "is this the right way to do it, or will it become excessive complexity and technical debt in the future". For me, screwing up a review in C results in bugs, screwing up a review in Rust results in technical debt, and sometimes I'm not sure which one is worse.
Almost every time I wrote complex code in Rust, I ended up throwing away the first version because I went down the wrong way to define types, establish ownership policies, pick what was hardcoded vs. what was abstracted. And it took a while to realize that, possibly only after using the library in anger. That is what I found even worse in Rust than in C++.
