Golang vs Python: Complete Comparison with their Top Frameworks

255 views
Skip to first unread message

BR Softech

unread,
Jan 9, 2021, 3:38:17 PM1/9/21
to golang-nuts

Wendell Hatcher

unread,
Jan 10, 2021, 10:23:09 PM1/10/21
to BR Softech, golang-nuts
Python and Golang really can't be compared as python is just a cleaned up prettier cousin of Perl. Golang is a compiled language really more enterprise and full application build ready. It would be better if Golang was compared to C#,Java or C++ as it is a full language not a scripting one. Hell comparing it to Scala, closure objective C would make more sense. 

On Sat, Jan 9, 2021, 3:37 PM BR Softech <87nit...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/ba4c89ed-3e49-47d7-8bea-fd3cc68a7f0an%40googlegroups.com.
Message has been deleted

Nikolay Dubina

unread,
Jan 11, 2021, 4:38:15 AM1/11/21
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

Reply all
Reply to author
Forward
0 new messages