Simulation of Networked Systems with Lossy Channels
Simulating Communicating Systems Implementation: In Ruby, using callcc and closures (Proc) - Great Fun but slow