3 ms·
The language a program is written in has no bearing on whether or not the program is susceptible to race conditions. You can have data races in Python, Javascri
by adtac 7y ago
The language a program is written in has no bearing on whether or not the program is susceptible to race conditions. You can have data races in Python, Javascript and Rust as easily as you can in C.
- loonyphoenix 7y agoYou cannot have data races in safe Rust.
- adtac 7y agoRace conditions aren't necessarily data races. This article and the parent comment was about race conditions in general.
- loonyphoenix 7y agoThe parent comment literally says > You can have data races in Python, Javascript and Rust as easily as you can in C. Don't use "race conditions" and "data races" interchangeably if you understand the difference...
- deleted 7y ago[deleted]
- yogthos 7y agoThat's a false equivalence. Some languages make it much easier to create race conditions than others. For example, you have to work hard to avoid them in C, but you'd have to actually try to introduce them in Clojure.