Re:Memory Safe Languages in Android 13
by throw827474737 on Friday December 02, 2022 @06:52AM
(#33829324)
If it was about a semicolon it even sounds more like running with not all warnings on. C++ is "bad" (shorting a lot) due to its compatibility being able to also compile last centuries code.. but if today on active code bases you are not even running with at least that, why would you ever switch to Rust?
And full agree, all what cppcheck does imo should have long gone into the warning suite, and Werror and Wall should be the default..
That said, they won't catch a ton of memory and thread safety issues. You'll need tests with 100% coverage for that. Or you could just write it in rust and the compiler will catch it.