V
V
vldmr51502015-03-23 20:19:36
Python
vldmr5150, 2015-03-23 20:19:36

How to port from python to c++?

Tell me the tricks and nuances of porting from python to c ++. It is required to port the speedtest.net client. Will the code increase a lot?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2015-03-23
@GavriKos

"We need to rewrite Beethoven's moonlight sonata from piano to drums. How many drums themselves will be needed?"
In fact, the languages ​​​​are very different, as with the so-called. the basic set of functionality, so in terms of the modules used, building the interface, etc. Try to look in the direction of how the python client works with speedtest itself. There is a chance that there is a simple client-server interaction on GET / POST requests. You can already implement this logic in C ++ using the same libCURL. You don’t need to port everything at once, in short :-)
Better yet - describe why you needed this at all, maybe they will offer a better method :-)

V
Vladimir Martyanov, 2015-03-23
@vilgeforce

Get ready for a major rewrite of the code: there will be no necessary modules out of the box, other interfaces, and so on...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question