async

Async pasts

When did asynchronous programming originate? I’m no historian, but one contender for the earliest roots of async would be Melvin Conway‘s coroutines. His 1963 paper “Design of a Separable Transition-Diagram Compiler” introduces coroutines and notes that they “can greatly simplify…

Wake up!

In Effective Unit Testing: A guide for Java developers, author Lasse Koskela writes about the scourge of the sleeping snail — slow tests littered with calls to Thread.sleep. His suggested alternative is perfectly sound and practical: turn nondeterministic waiting into…