Skip to content
DevMeme
4845 of 7590
TechHistory Post #5305 · source on Telegram

The Evolution of Avoiding 'Threads' in Software Engineering

Description

A screenshot of a post from a social media platform, likely Mastodon given the handle format. The post is by Rob Pike (@[email protected]), a well-known computer scientist, and features his signature minimalist stick-figure avatar. The text of the post reads: 'Back in the early 2000s, programmers were encouraged to avoid threads. Today that sentence means something different.' The humor comes from a clever play on words. In the early 2000s, 'threads' referred to programming threads, a method of achieving concurrency that was notoriously difficult to manage correctly, often leading to complex bugs like race conditions and deadlocks. In the modern context, 'Threads' is also the name of Meta's social media platform, a competitor to Twitter/X. The joke contrasts the historical technical advice with the contemporary social media landscape, highlighting how terminology in tech evolves

Comments

12
Anonymous ★ Top Pick In the 2000s, improper thread management led to deadlocks. Today, it leads to endless scrolling and your data being locked in with Meta. One was a concurrent programming problem, the other is a problem for concurrent-ly all of humanity
  1. Anonymous ★ Top Pick

    In the 2000s, improper thread management led to deadlocks. Today, it leads to endless scrolling and your data being locked in with Meta. One was a concurrent programming problem, the other is a problem for concurrent-ly all of humanity

  2. Anonymous

    2002: Join your threads or they’ll leak memory; 2023: Mute your threads or they’ll leak dopamine - either way the scheduler still preempts us

  3. Anonymous

    Rob Pike warning about threads in the 2000s: 'They'll cause race conditions!' Rob Pike warning about threads in 2024: 'They'll cause rage conditions!'

  4. Anonymous

    Rob Pike perfectly captures how 'avoid threads' went from sage concurrency advice to social media survival strategy. Back then, we worried about deadlocks and race conditions; now we worry about ratio'd takes and engagement bait. Though honestly, debugging a heisenbug in a multithreaded C program still feels less painful than reading some Twitter threads - at least with the former, you can attach a debugger and the problem doesn't argue back

  5. Anonymous

    My deadlock-avoidance strategy works for both pthreads and Mastodon: never acquire the comment lock

  6. Anonymous

    2003: avoid threads - they’ll deadlock the process; 2025: avoid threads - they’ll deadlock the conversation. Same primitive still works: mute(x)

  7. Anonymous

    Threads: once mutex mayhem in userland, now endless reply chains clogging the fediverse - still best avoided

  8. @klemaai 3y

    these threads?

  9. @callofvoid0 3y

    cpu threads?

  10. @lord_asmo 3y

    fabric threads

  11. @Johnny_bit 3y

    Meta Threads?

  12. @prirai 3y

    But the sentence still stands

Use J and K for navigation