Open in Damus
semisol
@semisol
1744491129
Give me one reason to use Rust in an embedded system.
10
BITKARROT
· 50w
So you can talk shit about it
Felix
· 50w
Less risk of crashes (e.g. due to leaks or segfaults) that could cause expensive aftereffects and may are hard to update depending on the accessibility of the deployed hardware?
nostrich
· 50w
Predictability
Jimmy
· 50w
Does this system have network access? Because if so, Rust's memory safety means there's much less probability of an exploitable security vulnerability caused by stuff like null pointers or buffer overflows.
Ryan Wilkins
· 50w
Memory safety is one reason to use Rust anywhere. It eliminates an entire class of bugs. It’ll piss you off if you’re not used to it, but it’ll make things safer.