Re:Python 3.11 Performance Benchmarks Are Looking Fantastic
by zackees on Tuesday June 07, 2022 @01:13AM
(#31650127)
Why? Python gives you the ability to spawn processes so there's always an escape hatch for building multi-core code.
[ Parent
| on HN ]
Re:Python 3.11 Performance Benchmarks Are Looking Fantastic
by __d on Tuesday June 07, 2022 @05:51AM
(#31651923)
Right. But as you implicitly note, it's a work-around ("escape hatch"), not a feature.
eg. Unix had processes from day 1, but threads were added (with significant effort) because threads are a better abstraction for addressing lot of problems. Especially so when your CPU has lots of cores.
The work to make multiprocessing better is certainly useful, and valuable, but it's still a work-around.