DEV Community

Discussion on: Software developer trends of 2020 and beyond

Collapse
 
atomzwieback profile image
Atomzwieback

I do not understand why python is "loved" for ML. The only point i can understand is that tensorflow is best for python. But why did google not made a similar support for go at tensorflow since both comes from google and go is way better for concurrency.

Collapse
 
amandaeducative profile image
Amanda Fawcett

Though I am not a machine learning engineer, I have heard that Python is loved for ML because of three main reasons:

  1. libraries/frameworks (like NumPy for computation, Pandas, PyTorch, scikit-learn for data mining, and more)

  2. the simplicity of the code is useful when dealing with and testing complex algorithms

  3. there's a big community of support using Python for ML, so it's easy to get advice and collaborate

Collapse
 
asherief profile image
Ayman Sherief

To add to that, when you're using Python for ML (or for anything intensive really) you're most likely making calls to very efficient implementations in C\C++.

Concurrency was never one of Python's strongest suits anyway and it's not why it's preferred for anything.