EPISODE · Dec 23, 2024 · 13 MIN
Why Threads Are A Bad Idea (for most purposes)
from Code Impact · host Sanket Makhija
This 1995 paper argues that threads, while powerful for achieving true CPU concurrency, are overly complex for most programming tasks. The author, John Ousterhout, contends that event-driven programming offers a simpler, more reliable alternative for applications such as GUIs and distributed systems. He highlights the difficulties of thread synchronisation, debugging, and performance optimisation, contrasting them with the relative ease of event handling. Ousterhout advocates using threads only when genuine parallel processing across multiple CPUs is essential, suggesting that even then, they should be confined to a core kernel within a predominantly single-threaded application. Ultimately, the paper promotes a pragmatic approach, prioritising simplicity and maintainability unless high-performance concurrency is absolutely necessary.
NOW PLAYING
Why Threads Are A Bad Idea (for most purposes)
No transcript for this episode yet
Similar Episodes
May 1, 2026 ·26m
Apr 29, 2026 ·48m
Apr 29, 2026 ·106m
Apr 29, 2026 ·55m