The Rust for Linux project
The Rust for Linux project
Posted Sep 18, 2021 3:52 UTC (Sat) by pbonzini (subscriber, #60935)In reply to: The Rust for Linux project by roc
Parent article: The Rust for Linux project
Posted Sep 18, 2021 9:00 UTC (Sat)
by laarmen (subscriber, #63948)
[Link]
However, I often find pure Rust code patches easier to review than pure C patches, assuming knowledge of the underlying code base, as Rust allows for stronger local reasoning. If the patch introduces a call looking like foo(&my_struct), Rust tells me that the contents of my_struct won't change (barring interior mutability) whereas, seeing the exact same call in C, I'll need to know the particulars of foo() in order to judge the soundness of further use of my_struct.
The Rust for Linux project
