Re:Rust Is Hard, Or: The Misery of Mainstream Programming
by preseinger on Sunday June 05, 2022 @01:57PM
(#31633323)
Data races are violations of the memory model; of course any code which produces data races cannot be understood as memory safe?
[ Parent
| on HN ]
Re:Rust Is Hard, Or: The Misery of Mainstream Programming
by ngrilly on Sunday June 05, 2022 @03:45PM
(#31634215)
As far as I remember, some languages like Java are memory safe even if the code produces data races. That means you can't have a reference to a value supposed to be of type A being actually of type B.