Code Review
Code Review
Posted Nov 16, 2025 14:22 UTC (Sun) by cceckman (subscriber, #134382)In reply to: Code Review by khim
Parent article: Rust in Android: move fast and fix things (Google Security Blog)
Yes, this, exactly.
I used to write and review C++ code at Google (not Android, but also firmware/driver stuff). I *consciously* did the work that the Rust language and borrow-checker do: associating pointers with allocation lifetimes, tracking ownership and mutability, etc. (C++11 helped a lot with this, but not fully; still a lot of raw pointers.)
Even when the code was correct, getting to the point where I *believed* it was correct took a lot of time and energy.
