Re:Google Is Uncovering Hundreds of Race Conditions Within t...
by yogthos on Thursday October 03, 2019 @12:23PM
(#21148759)
I'd be shocked if something written in C that's as complex as the Linux kernel didn't have race conditions.
[ Parent
| on HN ]
Re:Google Is Uncovering Hundreds of Race Conditions Within t...
by adtac on Thursday October 03, 2019 @01:43PM
(#21149699)
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.
Re:Google Is Uncovering Hundreds of Race Conditions Within t...
by loonyphoenix on Thursday October 03, 2019 @02:03PM
(#21149926)
You cannot have data races in safe Rust.
Re:Google Is Uncovering Hundreds of Race Conditions Within t...
by adtac on Thursday October 03, 2019 @03:56PM
(#21151396)
Race conditions aren't necessarily data races. This article and the parent comment was about race conditions in general.
Re:Google Is Uncovering Hundreds of Race Conditions Within t...
by loonyphoenix on Friday October 04, 2019 @03:13AM
(#21155504)
The 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...
Re:Google Is Uncovering Hundreds of Race Conditions Within t...
by yogthos on Friday October 04, 2019 @12:21AM
(#21154733)
That'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.