search
spinlocks
Trends
- 1Spinlocks Considered Harmful, Revisited▼Spinlocks Considered Harmful (2020) https://matklad.github.io/2020/01/02/spinlocks-considered-harmful.html # Performance
A 2020 blog post by Rust developer matklad arguing that spinlocks are harmful is being recirculated in programming discussions. The piece contends that spinlocks, which busy-wait instead of yielding, are rarely the right synchronization choice and often cause subtle performance and correctness problems. Readers are debating the trade-offs of spinlocks versus blocking locks in concurrent code.