Answer the question
In order to leave comments, you need to log in
Why do we need a bunch of python and go?
Hello!
Recently, relatively often I hear (see) manuals on how to make "python" and "go" friends. All this is done through, let's call it "C-API".
But to be honest, I don't understand why. It's just that "python" and "go" have related areas of application (as I understand it), and libraries (for example, computing ones) separate for "python" can also be written in "C" so as not to fence API monsters. In my understanding, in such a bundle (python-C-go), the python can be thrown out altogether, why is python used in such a bundle? those. "go" adds connection processing speed, "C" - let it be math, and "python"? What does "python" do?
Thank you.
Answer the question
In order to leave comments, you need to log in
Why do we need other PLs if everything can be written in C?)
In general, it is easier for a Python developer to master Go than C and relatively quickly start optimizing Python using Golang -a. I have seen people rewrite large projects in Go by moving heavy pieces to Go and eventually move away from python altogether.
development in python is much faster than in Go, but the performance is less
crossed to compensate for the loss of performance in particularly bottlenecks, while not rewriting the entire project in Go
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question