Re:Rust on AVR: Safer microcontrollers almost here
by milesrout on Sunday February 12, 2017 @01:58AM
(#13627179)
You can very easily have all the sorts of memory unsafety you have in C, in Rust.
[ Parent
| on HN ]
Re:Rust on AVR: Safer microcontrollers almost here
by pjmlp on Sunday February 12, 2017 @06:31AM
(#13627893)
Only in sections marked as unsafe.
In C every single line of code that manipulates pointers, does string operations, uses arrays or unsigned arithmetic is a possible cause of memory corruption.