[TUHS] Threads vs... not
cowan at ccil.org
Thu Aug 5 08:41:08 AEST 2021
On Wed, Aug 4, 2021 at 6:02 PM Larry McVoy <lm at mcvoy.com> wrote:
> A computer is a state machine. Threads are for people who can't
> state machines.
> Alan Cox
Orly? Try embedding an LL(1) parser in an event loop that gives you a new
event every time a block is read off the disk.
Event loops are just manual CPS transformations of coroutines -- but why do
the transformation manually instead of having your compiler do it for you?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the TUHS