Hacker News new | ask | show | jobs
by Ixiaus 1086 days ago
Cool to see people exploring this more. It's been around forever in Erlang with supervisor trees.
2 comments

Isn't that quite different? In structured concurrency, the parent thread blocks, doing nothing, until all the child threads terminate, at which point it carries on, using results produced by the children. Whereas with supervisor trees, the child processes run forever, and the parent process is there to restart them if they terminate.
I was thinking “they reinvented GenServer”, but felt like a snob haha