+ 1
Am moving from python3 to C or C++ which on is easy to understand and good please? C or C++?
I was using python 3 pandas to analyze a big data and was running too slow and I have decided to move to C or C++ .
3 odpowiedzi
+ 2
Moving from Python to C or C++,
Which one is easy to understand?
Neither one.
+ 1
C is a lot more simple, C++ is C with a bunch of extra features. I recommend learning C++ because it is object oriented like python. C and C++ have very similar performance, they are basically the same language.
The problem is that C and C++ take a while to learn and they don't have the same easy to use tools as python. I'm unsure, but there is probably a Python package that can help with performance, like Numba for Numpy.
+ 1
Mirielle you mean if I rewrite the code in c or c++ it will still run slow and
please what do you mean by I need to improve in time complexity or space complexity of the algorithms please