[TUHS] man Macro Package and pdfmark

Bakul Shah bakul at bitblocks.com
Fri Feb 21 03:24:50 AEST 2020

On Thu, 20 Feb 2020 08:23:08 -0800 Larry McVoy <lm at mcvoy.com> wrote:
>     Think of it this way: threads are like salt, not like pasta. You
>     like salt, I like salt, we all like salt. But we eat more pasta.

Go is quite salty! Erlang even more so.

>     A computer is a state machine. Threads are for people who can't
>     program state machines.

I have written both event based (state machine) and thread
based programs.  Each style has its pros and cons. Control
flow is cleaner in threads but managing shared state is
trickier.  In state machines managing state is easier but
control flow is a pain.  Not to mention state machine don't
benefit from multiple h/w threads.

More information about the TUHS mailing list