|
|
|
|
|
by nicolaslem
2863 days ago
|
|
As a developer working mostly with Python this comment makes no sense to me. There are hundreds of libraries to deal with concurrency and/or parallelism in Python, asyncio, Celery and PySpark being the common ones. All of them provide different approaches to concurrency because the language itself is not tight to one in particular. |
|
And all of that is really just I/O parallelization; there's also CPU parallelization, and I don't believe Python has anything that's quite as easy as "Do these two things in parallel". Pretty much everything requires a lot of marshalling and process management which can easily slow a program down instead of improving it.
Python is great for a lot of things, and the community has found many creative workarounds for its shortcomings, but Go beats Python in I/O and CPU parallelism handily.