https://vorpus.org/blog/some-thoughts-on-asynchronous-api-design-in-a-post-asyncawait-world/
在“后 async/await”世界中设计异步api的一些想法(2016年11月)
https://vorpus.org/blog/control-c-handling-in-python-and-trio/
在 python 和 trio 中处理 Ctrl-C (2017年4月)
https://vorpus.org/blog/timeouts-and-cancellation-for-humans/
人性化的超时和取消(2018年1月)
https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/
“结构化并发”简析,或:有害的go语句(2018年4月)
另外值得一读的还有trio的官方教程
https://trio.readthedocs.io/en/stable/tutorial.html
再加一个trio的内部设计思路:
https://trio.readthedocs.io/en/stable/design.html
这些文章加起来组成了trio作者对使用async/await的异步api整个的设计想法与实现——这个实现就是trio
这篇文章里的一个闪光点是,论证了把“调度点”和“取消点”两个概念合二为一,提出了“检查点”的概念。看到这个真的有“把惯性质量和引力质量两个概念合并成质量这个概念”的感觉了(