The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Bakul Shah <bakul@bitblocks.com>
To: tuhs@minnie.tuhs.org
Subject: Re: [TUHS] man Macro Package and pdfmark
Date: Thu, 20 Feb 2020 09:24:50 -0800	[thread overview]
Message-ID: <20200220172457.80063156E411@mail.bitblocks.com> (raw)
In-Reply-To: Your message of "Thu, 20 Feb 2020 08:23:08 -0800." <20200220162308.GK30841@mcvoy.com>

On Thu, 20 Feb 2020 08:23:08 -0800 Larry McVoy <lm@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.

  parent reply	other threads:[~2020-02-20 17:25 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-17 15:20 Doug McIlroy
2020-02-17 16:47 ` Clem Cole
2020-02-17 18:09 ` Thomas Paulsen
2020-02-17 18:39   ` Jon Steinhart
2020-02-17 21:16     ` Thomas Paulsen
2020-02-17 22:50     ` Thomas Paulsen
2020-02-17 23:22       ` Warner Losh
2020-02-18  0:56         ` Bakul Shah
2020-02-18  3:33         ` Dave Horsfall
2020-02-18  7:27           ` Thomas Paulsen
2020-02-18  0:03       ` Richard Salz
2020-02-18  0:17         ` Jon Steinhart
2020-02-18  0:54           ` Larry McVoy
2020-02-18  1:05           ` Bakul Shah
2020-02-18  7:40           ` Greg A. Woods
2020-02-18  7:45             ` arnold
2020-02-18 20:24               ` Greg A. Woods
2020-02-18 11:22             ` Rich Morin
2020-02-18 12:28               ` arnold
2020-02-18 12:49                 ` U'll Be King of the Stars
2020-02-18 13:23                   ` arnold
2020-02-18 15:11             ` Clem Cole
2020-02-18 15:28               ` arnold
2020-02-18 15:36                 ` Larry McVoy
2020-02-18 15:43                 ` Steve Nickolas
2020-02-18 15:52                   ` Clem Cole
2020-02-18 16:40                   ` Theodore Y. Ts'o
2020-02-18 18:39                     ` Steve Nickolas
2020-02-18 21:26                       ` Dave Horsfall
2020-02-18 21:29                       ` Wesley Parish
2020-02-19  4:52                       ` [TUHS] Open source or free software? (was: man Macro Package and pdfmark) Greg 'groggy' Lehey
2020-02-18 15:48                 ` [TUHS] man Macro Package and pdfmark Clem Cole
2020-02-18 16:02                   ` Chet Ramey
2020-02-18 16:28                     ` Clem Cole
2020-02-18 17:49                   ` Thomas Paulsen
2020-02-18 21:46                 ` Rich Morin
2020-02-18 16:47               ` Henry Bent
2020-02-18 20:22               ` Greg A. Woods
2020-02-19  4:44                 ` Larry McVoy
2020-02-19 18:01                   ` Earl Baugh
2020-02-19 18:12                     ` Emile Bye
2020-02-19 20:18                       ` Michael Huff
2020-02-19 20:34                         ` Jon Steinhart
2020-02-19 21:09                         ` Henry Bent
2020-02-20  7:27                         ` arnold
2020-02-20  7:43                           ` Rich Morin
2020-02-20 13:15                             ` Dan Cross
2020-02-20 16:23                           ` Larry McVoy
2020-02-20 16:34                             ` Arthur Krewat
2020-02-20 17:06                             ` Al Kossow
2020-02-20 17:24                             ` Bakul Shah [this message]
2020-02-20 17:48                               ` Rich Morin
2020-02-20 20:10                                 ` Bakul Shah
2020-02-20 20:18                                   ` Rich Morin
2020-02-20 16:48                           ` Nemo
2020-02-20 17:00                             ` Larry McVoy
2020-02-20 19:16                           ` Dave Horsfall
2020-02-20 23:45                         ` Doug McIntyre
2020-02-21  0:18                           ` Warner Losh
2020-02-21  1:14                             ` Nemo Nusquam
2020-02-21  8:19                             ` Thomas Paulsen
2020-02-21  8:17                           ` Thomas Paulsen
2020-02-21 10:17                             ` arnold
2020-02-21 10:37 ` Ed Bradford
2020-02-21 18:34   ` Heinz Lycklama
2020-02-21 18:59     ` Warner Losh
2020-02-21 21:10       ` Dave Horsfall
2020-02-21 21:46         ` David Barto
2020-02-22  6:48     ` Ed Bradford
2020-02-22 10:42     ` Al Kossow
2020-02-22 11:01       ` Ed Bradford
2020-02-22 16:38         ` Warner Losh
2020-02-22 18:11           ` arnold
2020-02-22 23:41             ` [TUHS] Mini-UNIX Warren Toomey
2020-02-22 11:08       ` [TUHS] man Macro Package and pdfmark Ed Bradford
2020-02-22 16:40         ` Warner Losh
2020-02-22 16:46         ` Clem Cole
2020-02-22 17:51           ` Heinz Lycklama
2020-02-17 18:55 Noel Chiappa
2020-02-17 20:13 ` Clem Cole
2020-02-17 21:06   ` CHARLES KESTER
2020-02-18  0:36 ` Dave Horsfall
2020-02-18 13:13 Don Hopkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200220172457.80063156E411@mail.bitblocks.com \
    --to=bakul@bitblocks.com \
    --cc=tuhs@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).