Evaluating Python Coroutine Options
A couple of previous posts (here and here) presented three Python-based alternatives for expressing process or agent-based behavior that takes place over (or blocks for) simulated time: generators, greenlets and tasklets. So which approach is best? There are (at least!) three factors to consider: Ease of use – ease-of-coding, expressiveness, maintainability. Eco-system factors – compatibility… (read more)