DEV Community

jones268
jones268

Posted on

1

Is Golang going to overpower Python?

#go

As Go (golang) continues to grow in popularity and mind-space, the question is being asked more frequently- Is Golang going to be the next Python?

I know that if this were said a few years ago, you would laugh at me, but it's becoming a more valid question. And with so many companies jumping on the Go train, you have to wonder how far it can go.

Go vs Python

Golang

Go's code is compiled to native code for Intel x86 and ARM architectures.

What Golang essentially does is ensure code safety, reliability and high performance in a relatively short time. It can be used to build the following:

  • Network applications that demand high performance (e.g., web servers, proxies)
  • Software development for L10-scale systems (e.g., Docker, Kubernetes, etc.)
  • Embedded applications (e.g., drones, robots, etc.)

It is "easy" to learn but so is Python and many other languages.

Python

Python is an interpreted language, not a compiled one. Python code can be executed on any system that has a Python interpreter.

Python is surely not going anywhere anytime soon. Python has been the language that has defined the way we build web applications for a long time, it's easy to deploy Python apps online.

Like Go, Python can be used for a variety of purposes including web development, desktop apps, databases and a lot more.

golang vs python

Who will win?

Both will stay, in the same way that Formula 1 does not replace buses for transportation. Because Go is a compiled language, it has lower execution time. But it does not provide OOP concepts and all the available Python modules like pandas or numpy.

Both will stay around, because there are lots of Python programmers, there's a lot of existing Python code bases and a variety of other reasons.

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay