Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I do wish he dwelt on task groups a bit more at the end. Many comments here seemed too have missed that bit. They're not just a handy way of executing a hack. Instead, they're a revolutionary way (ok maybe that's a but string but not much) to structure your async program to avoid a whole host of bugs.

A code snippet would have been nice, or a link to the blog post that introduced them (in trio, another async library): https://vorpus.org/blog/notes-on-structured-concurrency-or-g...



I also came here to say this. Structured concurrency gets rid of these types of problems.


*bit strong




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: