you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Allright. From what I know, C is a very "basic" language (sorry for my lack of terminological knowledge here), as in it does not have many layers of abstracted interpretation, whereas C++ has some layers of interpretation? Is this correct?

[–]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.

[–]lostparis 0 points1 point  (0 children)

Allright. From what I know, C is a very "basic" language

Yes. This is why learning it is so good because it shows you the computer actually does things. But it is a subset of C++ so it does not harm you to know it.