All Topics
Concurrency vs. Parallelism
The difference between concurrency and parallelism, and why even single-threaded async code can have race conditions.
Computer ScienceCoding
Videos (2)
Podcasts (1)
Slide decks (1)
Infographics (1)
Sources (30)
- web page AbortController - Web APIs | MDN
- web page CWE - CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization (5.0)
- web page CWE - CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition (5.0)
- web page Concurrency is not parallelism - The Go Programming Language
- web page Data Race Detector - The Go Programming Language
- web page Developing with asyncio — Python 3.15.2 documentation
- web page Don't Block the Event Loop (or the Worker Pool) | Node.js Learn
- web page Fearless Concurrency - The Rust Programming Language
- web page GitHub - sindresorhus/p-limit: Run multiple promise-returning & async functions with limited concurrency · GitHub
- web page Implementing Stripe-like Idempotency Keys in Postgres — brandur.org
- web page Lock types and their rules — The Linux Kernel documentation
- web page PEP 703 – Making the Global Interpreter Lock Optional in CPython | peps.python.org
- web page PostgreSQL: Documentation: 18: 13.2. Transaction Isolation
- web page PostgreSQL: Documentation: 18: 13.3. Explicit Locking
- web page Race conditions | Web Security Academy
- web page Simulation and Testing — FoundationDB 8.0.0 documentation
- web page Synchronization Primitives — Python 3.15.2 documentation
- web page Synchronizing with Effects – React
- web page The Go Memory Model - The Go Programming Language
- web page The Node.js Event Loop | Node.js Learn
- web page ThreadSanitizer - Clang
- pdf gray85-easy
- pdf threads-bugs
- pdf threads-locks
- web page https://sunnyday.mit.edu/papers/therac.pdf
- web page https://www.cs.utexas.edu/~EWD/transcriptions/EWD03xx/EWD310.html
- web page https://www.erlang.org/doc/system/processes.html
- web page java.util.concurrent.atomic (Java SE 21 & JDK 21)
- web page research!rsc: Hardware Memory Models (Memory Models, Part 1)
- web page research!rsc: Programming Language Memory Models (Memory Models, Part 2)