3 ms·
Mypy support in the core will be great - dropboxes stubs are good but will be better to get full typechecking when projects have it enabled. It's also great ne
by calpaterson 6y ago
Mypy support in the core will be great - dropboxes stubs are good but will be better to get full typechecking when projects have it enabled.
It's also great news that the asyncio users be able to use this brilliant ORM! Like many others I (reluctantly) toil in the async mines nowadays.
- fastball 6y agoReluctant to use asyncio? How come? I think it's great. Very happy SQLAlchemy has finally added support, I was slowly dropping it in favor of solutions that supported asyncio.
- calpaterson 6y agoI summarised my opinions here: https://calpaterson.com/async-python-is-not-faster.html https://calpaterson.com/async-python-is-not-faster.html TL;DR: It's not faster, prone to bugs if used incorrectly and adds new failure modes. There are some good reasons to use it but they are narrow and I think most real world usage is inappropriate.
- fastball 6y agoThanks for the link! With regard to speed, why do you think the TechEmpower benchmarks[1] (which I think actually do employ a good number of workers for the sync frameworks) have the sync frameworks getting smoked by the asyncio frameworks? [1] https://www.techempower.com/benchmarks/#section=data-r20&hw=ph&test=fortune&l=zijzen-sf https://www.techempower.com/benchmarks/#section=data-r20&hw=...