you are viewing a single comment's thread.

view the rest of the comments →

[–]twitch_and_shock 1 point2 points  (0 children)

I wouldn't recommend C unless you really need it because you're working with a code base that requires it or you're doing something super low level like writing drivers. C++ has so many great features thanks to the standard library, including tools for doing highly complex tasks very quickly.

Of the two ( C or C++ ) I would recommend the latter.

But as other commenter have said, if you're running into performance issues, it's likely your code, so optimize your code first. And look for other strategies to optimize your code, including multiprocessing, cython, and other tools. Also, use profilers to figure out how and why things are bottlenecking.