Better HN
topnewbestaskshowjobs
Log inSign up

uhhuak

0 karma · joined Oct 11, 2026 (1mo ago) · 3 submissions

Submissions

comment 1mo ago · link · parent

How widespread are locks in typical Rust code?

comment 1mo ago · link · parent

> "fearless concurrency"

That saying does more harm than good, and it counts against the Rust community that it keeps repeating it. Deadlocks are not something that Rust prevents. On the contrary, many beginners to Rust often run into deadlocks, some even spurred on by trying to satisfy the borrow checker. An infamous example is https://fasterthanli.me/articles/a-rust-match-made-in-hell . Instead of making blatantly false claims and causing newcomers to Rust frustration, pain and bugs, the Rust community should warn about concurrency and direct beginners to learn about concurrency, both generally as well as specifically in Rust.