4 ms·
Cool to see people exploring this more. It's been around forever in Erlang with supervisor trees.
by Ixiaus 3y ago
Cool to see people exploring this more. It's been around forever in Erlang with supervisor trees.
- mikercampbell 3y agoI was thinking “they reinvented GenServer”, but felt like a snob haha
- twic 3y agoIsn'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.