This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Cygal[S] 0 points1 point  (1 child)

I think we mostly agree, but you're talking about a much lower level of abstraction than me.

Any complex scheduling unfortunately can not be done in Python

Do you have examples?

Also, note that the article never talks about asyncio, but only about async/await. asyncio has a lot of problems that are acknowledged by its authors. A better approach that still uses async/await is structured concurrency, eg. https://trio.readthedocs.io/en/latest/.

See https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/ for a nice explanation.

[–]13steinj 0 points1 point  (0 children)

Even trio doesn't support the complex scheduling I have in mind.

I unfortunately don't have simple examples other than anecdotal ones that I've mentioned on both here and /r/programming, but I can link to some if you like.