Re:Google says replacing C/C++ in firmware with Rust is easy
by lenkite on Sunday September 08, 2024 @04:46AM
(#41479077)
Did you write C++ after C++ 20 came out ? With concepts and a modern code base, the incomprehensible errors are a thing of the past.
[ Parent
| on HN ]
Re:Google says replacing C/C++ in firmware with Rust is easy
by xelamonster on Sunday September 08, 2024 @03:08PM
(#41482383)
I haven't actually, glad to hear it! I still see big advantages to the extra compile time safety provided by Rust, and despite the mentioned similarities I find its syntax significantly clearer to read and write. C++ templates took me forever to really wrap my head around where a similar declaration in Rust feels immediately intuitive even where I don't fully understand all the nuances.