Would it be better to use c or c++ for handling computationally intensive tasks in a python program, where speed matters above all. Is there much of a difference between the two ? Which is more cleaner?
The runtime performance you gain from using C++ versus C is negligible. In terms of integrating the code with your Python program (and most other languages) it is almost always easier to do with C. In fact if you're using ctypes to load and run the code (which I'd recommend), you still need to write a C interface around the C++ library.
Which is a better extension language for speed optimization for python c or c++