MikeTrendsTrends right now

Mmastodon TechnologySoftware first seen 1 d ago, last 1 d ago, peak #7

Spinlocks Considered Harmful, Revisited

Original: 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.

Why now: The classic post is being reshared on developer forums, prompting renewed debate about locking strategies.

matkladspinlocksRust

Open on mastodon →

Evidence

API: https://socialmediatrends-api.osmike.com/v1/trends/1635280