Top all-time · #11945
Winning Race Conditions
Personal blog · winningraceconditions.blogspot.comprogrammingsystems
Winning Race Conditions is a personal blog at winningraceconditions.blogspot.com about programming and systems. Since 2012, 6 different Hacker News readers have linked it 7 times, most often “Winning Race Conditions: Rust (4): Typesafe Shared Mutable State”. The last post was in 2015, but the archive is still widely read.
Too few sampled comments (2) to say how often HN recommends it.?
Why HN links it
Cited in HN threads about Rust's concurrency model. The posts cover the Rust series, including a fork/join pattern using shared read-write data and the kinds of data races Rust's type system prevents.
Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
one researcher's thoughts on concurrent programming and how to improve it
Most-linked posts?
- Winning Race Conditions: Rust (4): Typesafe Shared Mutable State3 people · 3 mentions · first linked 2012-09-26
What Hacker News says?
From the end of the last post in the series ( http://winningraceconditions.blogspot.com/2012/09/rust-4-typ... ): let arc = RWARC(some_data); for num_cpus().times { let arc2 = clone(&arc); do task::spawn |move arc2| { process_data(arc2); // might read, write, whatever } } let modified_data = unwrap(move arc); // blocks on all child tasks at once // do more of the algorithm, etc. This is a nice fork/join pattern, allo…
Comment linking /2012/09/rust-4-typesafe-shared-mutable-state.html
on “Why I think Rust is the "language of the future" for systems programming”Submitted Why I think Rust is the "language of the future" for systems programming as a story · 243 points
HN discussionHere's a rather old post that describes the kinds of races that the Rust compiler prevents: http://winningraceconditions.blogspot.com/2012/10/what-is-da... "[...] Rust's type system guarantees that concurrent tasks cannot share state but instead must use message-passing to communicate, which precludes the possibility of data races completely by enforcing happens-before relationships on all data accesses (or in the c…
Comment linking /2012/09/rust-4-typesafe-shared-mutable-state.html
on “Rust is not fast”Submitted When is a race not a data race? as a story · 4 points
HN discussionSubmitted Winning Race Conditions: Rust (4): Typesafe Shared Mutable State as a story · 3 points
HN discussionSubmitted Rust (1) Primer as a story · 1 points
HN discussion