Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ozars
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
ozars
1y ago
huh. I had no idea. Fair.
2.
▲
by
ozars
1y ago
Shared mutability can cause race conditions in single-threaded environments as well, if you need asynchronous contexts where mutations can be interleaved between suspension points. Think of events, message passing channels, I/O, timers
3.
▲
by
ozars
1y ago
Rust has Arc and Weak that can be used for solving it in a similar way C++ does. The primary difference is forcing usage of Mutex to avoid a large class of data race issues IMHO, and that's what makes it harder to get right. Async in R