Should I use a code converter (Python to C++)?

Let me just say right off the bat that i'm not a programmer. I'm just a guy with an idea taking his first steps to make it a reality. I'm no stranger to programming, mind you, but some of the concepts and terminology here are way over my head; so i apologize in advance if this question was answered before (i.e. Convert Python program to C/C++ code?).

I have an idea to create a simple A.I. network to analyze music data sent from a phone via cloud computing (I got a guy for the cloud stuff). It will require a lot of memory and need to be fast for the hard number-crunching. I had planned on doing it in python, but have since learned that might not be such a good idea (Is Python faster and lighter than C++?).

Since python is really the only gun i have in my holster, i was thinking of using a python-to-C++-converter. But nothing comes without a price:

  1. Is this an advantageous way to keep my code fast?
  2. What's the give-and-take for using a converter?
  3. Am i missing anything? I'm still new to this so i'm not even sure what questions to ask.

Thanks in advance.


Generally it's an awful way to write code, and does not guarantee that it will be any faster. Things which are simple and fast in one language can be complex and slow in another. You're better off either learning how to write fast Python code or learning C++ directly than fighting with a translator and figuring out how to make the generated code run acceptably.

Need Your Help

Non-UI thread, UI access

c# winforms multithreading

It is well-known that you cannot update the UI from any other thread other than the UI thread.

Overriding virtual member function containing constant

c++ override constants virtual member-functions

How can I override a virtual member function of the following type:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.