Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
sa46
2y ago
0 comments
Save
Share
Rust protects against data races, not race conditions.
https://doc.rust-lang.org/nomicon/races.html
0 comments
2 comments · 1 top-level
top
newest
oldest
Ar-Curunir
2y ago
· 1 in thread
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