Skip to content

Comment on Multi-threading is always the wrong design (2023)parent

Comments

I'm a huge fan of the actor model and message passing, so you do not have to sell it to me; I also strongly dislike the current async fad.

But message passing is not a panacea. Sometimes shared mutable state is the solution that is simplest to implement and reason about. If you think about it what are database if not shared mutable state, and they have been widely successful. The key is of course proper concurrency control abstractions.

"There's a variety of other safe techniques."

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.