Writing tests to demonstrate actor re-entrance bugs

Consider single-threaded environment: it is possible to execute code there concurrently, but never in parallel. In programming concurrency and parallelism are two distinct established terms, that mean different things. I’ve shared here my favorite depiction of this difference. I also recommend linked in post you quote speech by Rob Pike on the topic as well, there are great illustrations.

2 Likes