Wednesday, January 2, 2013

Comparison of Go vs. Python for a web server app

Go vs. Python for a simple web server

By the same author quoted in my previous post.

Having used Go a bit, I can confirm that a) Go code compiles really fast (tried by me only for small programs, but fast compilation is a design goal for Go, IIRC), and b) compiled Go app binaries are a bit large (*) (but that is probably at least partially due to static linking, which is a feature, a bug, or both, depending on how you look at it :-)

He mentions some pros and cons of both Go and Python.

(*) A simple hello world Go program compiles to a binary of ~1MB on Windows. Not tried it on Linux yet.

- Vasudev Ram
Python and open source consulting and training
www.dancingbison.com

5 comments:

Anonymous said...

Apples and oranges.

paul c said...


There seems to be little info. in the linked article, just a bunch thoughts written down.

paul c said...


The linked article has no verifiable data.

Vasudev Ram said...

I did not claim that it was a conclusive experiment or benchmark that proves that Go is better than Python, in any way. Neither, I think, does the author. E.g. he mentioned some pros and cons of both, as did I about Go.

I merely posted it (and mentioned a bit of my own experience with Go) as an interesting anecdote (to me, anyway).

Maybe the use of words like "comparison" misled some commenters.

Personally speaking, if I was to make a claim that language X is "better" than language Y (for whatever value or meaning of "better"), I would state it much more clearly and with evidence.

- Vasudev.

Vasudev Ram said...

P.S. Apples and oranges - both are tasty :)
Just kidding; I know what you meant by it, but replied above.