Message378200
My 2c as Python user:
Back in 2010, I've used multithreading extensively, both for concurrency and performance. Others used multiprocessing or just shelled out. People talked about using **the other** core, or sometimes the other socket on a server.
Now in 2020, I'm using asyncio exclusively. Some colleagues occasionally still shell out 🙈. None talking about using all cores on a single machine, rather, we'd spin up dozens of identical containers, which are randomly distributed across N machines, and the synchronisation is offloaded to some database (e.g. atomic ops in redis; transactions in sql).
In my imagination, I see future Python as single-threaded (from user's point of view, that is without multithreading api), that features speculative out-of-order async task execution (using hardware threads, maybe pinned) that's invisible to the user. |
|
Date |
User |
Action |
Args |
2020-10-08 00:03:02 | Dima.Tisnek | set | recipients:
+ Dima.Tisnek, loewis, jhylton, arigo, gregory.p.smith, jcea, ncoghlan, pitrou, scoder, vstinner, movement, larry, eric.smith, kevinwatters, tarek, karld, carljm, coderanger, phsilva, durin42, eric.araujo, nirai, alex, andrix, konryd, jab, brian.curtin, hozn, victorpoluceno, flox, DazWorrall, cool-RR, rh0dium, rcohen, dabeaz, mahmoudimus, portante, aconrad, ysj.ray, neologix, thouis, donaldjeo, Michele, jmehnle, Omer.Katz, corona10 |
2020-10-08 00:03:02 | Dima.Tisnek | set | messageid: <1602115382.87.0.553913484312.issue7946@roundup.psfhosted.org> |
2020-10-08 00:03:02 | Dima.Tisnek | link | issue7946 messages |
2020-10-08 00:03:02 | Dima.Tisnek | create | |
|