concurrency call to arms
John Belmonte
john at neggie.net
Wed Sep 26 13:54:15 UTC 2018
On Thursday, 16 August 2018 at 20:30:26 UTC, John Belmonte wrote:
> These are novel control structures for managing concurrency.
> Combining this with cooperative multitasking and explicit,
> plainly-visible context switching (i.e. async/await-- sorry
> Olshansky) yields something truly at the forefront of
> concurrent programming. I mean no callbacks, almost no
> locking, no explicitly maintained context and associated state
> machines, no task lifetime obscurity, no manual plumbing of
> cancellations, no errors dropped on the floor, no shutdown
> hiccups. I'm able to write correct, robust, maintainable
> concurrent programs with almost no mental overhead beyond a
> non-concurrent program.
I've written an article which attempts to expand on the
ingredients making Trio + async/await effective, in the hope this
paradigm can be carried elsewhere.
https://medium.com/@belm0/concurrency-made-easy-d3fdb0382c58
More information about the Digitalmars-d
mailing list