Running Go code from Python

Rene Manqueros
Apr 15 · 6 min read

Python is a great language that can be picked up easily by a new developer and be productive in a short amount time, it is clean code by design and it has a million libraries available, sadly all of these benefits come at a price called “speed”, python is slow, very slow; pypy or stackless sometimes help with performance but at times they break other libraries that are not compatible or they don’t show any improvement on our specific use case.

You can always take the path of building a library in C and importing it, but to some C might end up being a very complex language to work…