News for hackers. Stuff that matters.
Re:How to choose the right Python concurrency API by hbrn on Thursday August 11, 2022 @10:30AM (#32426224)
Only if it's free. The costs were quite high:

Time spend rewriting networking

Code because more complicated: cooperation was moved to code instead of being handled by OS (to be fair this was way before asyncio, it was gevent).

Code became alien to the team. I was the only one who knew how it worked.

In the end, the only problem I solved was the problem we didn't have: "not using coroutines". Sure, threads suck at scale. But you should build things for scale when it's necessary, not when it's fun.

There are no comments on this comment yet.