Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
sa46
2y ago
0 comments
Share
Rust protects against data races, not race conditions.
https://doc.rust-lang.org/nomicon/races.html
0 comments
default
newest
oldest
Ar-Curunir
2y ago
Go doesn’t protect against even those, which is what the parent meant
sa46
OP
2y ago
Go cannot catch data races at compile time (like Rust) but can catch a subset of data races at run time with the race detector. Go provides imperfect, opt-in protection.
j
/
k
navigate · click thread line to collapse