Peewee ORM 作者评价 Python asyncio


Python async 感觉每过几年就要被人拿来否定下,这次是 Peewee 的作者,asyncio 和 Gevent 的项目我都经历过,感觉作者讲的挺有道理的:

Unlike asyncio, gevent transforms all the blocking calls in your application into non-blocking calls that yield control back to the event loop. As a result, you can continue to use the libraries you’re familiar with, and the exact same codebase can be run with or without gevent “enabled”

还好,社区这几年比较务实,在努力提升 Python 语言自身的性能