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?
Both are compiled to native code and usually with the same compiler and thus the same compiler optimizations available. The performance difference you pay for supporting C++ language constructs should be negligible. Choose the one you prefer / the one that integrates better with Python / the one that integrates better with other native libraries you want to use.
Which is a better extension language for speed optimization for python c or c++