31 ms·
FWIW, Rust gives you the same simplicity (no data races at runtime) with threads as well. (Not necessarily on topic, but if you’re really excited about dodging
by wwright 6y ago
FWIW, Rust gives you the same simplicity (no data races at runtime) with threads as well.
(Not necessarily on topic, but if you’re really excited about dodging data races, I figured it would give you something fun to look at!)
- ric2b 6y agoNot in the same way though, it catches the possibility of data races and forces you to rewrite until all the memory accesses are safe. That's more complex to program, you might need to redesign some of your data structures, for example.