[TUHS] Threads vs... not

John Cowan 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
> program
>      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...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20210804/c2ba63a9/attachment.htm>

More information about the TUHS mailing list