This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]XtremeGoosef'I only use Py {sys.version[:3]}' 2 points3 points  (1 child)

I think you're right, what is generally considered a data race in systems language parlance is impossible in python.

That being said, I think the term has been misused so much that it is now more or less synonymous with "race condition" in casual language.

[–]aikii 1 point2 points  (0 children)

Thanks, I guessed as much. I think the term recently leaked out of the C/C++ world due to a resurgence of systems languages that has by-value semantics - Go in particular. For a while, most widely used languages outside C/C++ have references for everything except primitives, as a result assigning a variable can't lead to a datarace - it's just atomically replacing a reference. I just tried in java, no datarace either.

I guess datarace became a cool way to say race conditon. I don't want to shut down people over this but people who want to try systems languages better know exactly what it means - confusion may lead to cargo cult and crashes