curio

What is the core difference between asyncio and trio?

允我心安 提交于 2019-12-03 01:53:19
问题 Today, I found a library named trio which says itself is an asynchronous API for humans. These words are a little similar with requests '. As requests is really a good library, I am wondering what is the advantages of trio . There aren't many articles about it, I just find an article discussing curio and asyncio . To my surprise, trio says itself is even better than curio (next-generation curio). After reading half of the article, I cannot find the core difference between these two

What is the core difference between asyncio and trio?

萝らか妹 提交于 2019-12-02 15:29:11
Today, I found a library named trio which says itself is an asynchronous API for humans. These words are a little similar with requests '. As requests is really a good library, I am wondering what is the advantages of trio . There aren't many articles about it, I just find an article discussing curio and asyncio . To my surprise, trio says itself is even better than curio (next-generation curio). After reading half of the article, I cannot find the core difference between these two asynchronous framework. It just gives some examples that curio 's implementation is more convenient than asyncio