Get the latest tech news

Concurrency, interactivity, mutability, choose two


You have a Common Lisp program running, multiple threads listening for network connections, others processing data in the background. You were really careful making sure that there are no data access conflicts. Concurrency, check. You use Emacs and SLIME to connect to your server, inspect its state. Interactivity, check. You realize a global hash table contains an incorrect value; no problem, just evaluate a simple REMHASH expression. Mutability, check. Unfortunately another thread happens to read the hash table while the form is being evaluated. Game over.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of interactivity

interactivity

Photo of concurrency

concurrency

Photo of mutability

mutability

Related news:

News photo

SQLite in Production: Optimizing WAL Mode, Concurrency, and VFS Layers

News photo

The Tokio/Rayon Trap and Why Async/Await Fails Concurrency

News photo

Rob Pike – 'Concurrency Is Not Parallelism' [video] (2012)