|
|
|
|
|
by weberc2
2339 days ago
|
|
No, data science is typically cpu expensive. Python is fundamentally single threaded and slow at that, so you have to be very clever to work around the issue (e.g., running a separately scalable service for your data crunching work). Contrast that with Go where the runtime can use other cores. |
|
Python is not fundamentally single threaded - it just has a lock that stops it from taking advantage of threads in cpu bound scenarios.
Python is used in data science because of the C bindings that make it not slow. Also, when in C, you can take advantage of threads since they live outside the GIL. e.g. Dask.