News for hackers. Stuff that matters.
Re:Software Rot (2017) by war1025 on Monday February 25, 2019 @09:21AM (#19245746)
I think for most people, async io / coroutines gets them most of the benefit that they'd ever get out of multi-threading.

With async io, you can have a lot going on at once, interleaving nicely while different tasks wait for io responses.

Beyond that, normally you're just as well off to kick off a second process.

You have to get pretty fancy with algorithms to make multi-threaded computation a net-benefit. Most of the time you don't need that. If you do, you're probably not reaching for python.

There are no comments on this comment yet.