Nikolay Dubina
unread,Jan 11, 2021, 4:38:15 AM1/11/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
I would expected to see at these two things:
1. That most of the serious solutions in "Python" are actually wrappers for highly optimized machinery in C/C++. If you look at just basic ML stack: Pytorch, Tensorflow, OpenCV, numpy, scipy, XGBoost, so on. all is in C/C++ with wrapper in Python.
2. Language itself. Go syntax is unusable for data-wrangling and data science, while Python is very friendly. I am talking about things like: multi-dimensional arrays and indexing; standard library data structures like sets; short lambdas notation; ternary; errors vs try-catch semantics; operator overloading...
Python is not just webservers, as opposed to Go. Lastly, pure "Python" is slow. But given a lot of serious code is in C/C++ underneath, uses green-treads (like gunicorn), does batch processing, makes lots of GPU calls (which Go has no support at all)... it is debatable if Python is slower than Go. It depends on application.
- Nikolay