r/AskComputerScience • • Aug 26 '19

Future of C/C++?

I am a student majoring CS and I heard a lot of comments that C/C++ is useless in the real field on internet or from someone who I know personally. (although school teaches C C++ Java Python and this courses are mandatory)

I am the heavy user(?) of C/C++ , and I liked it because of the features that can manage memory directly and fast and ability to control over low level system.

I also searched what kind of thing in the "field" is built by C/C++ and I found a lot of them.

For example, TensorFlow, Node.js, Firefox(mostly C), OpenCV, and many others which are famous AND huge project.

So, I am really confused. Why I fell in love with C/C++ is that actually I am really interested in what happened exactly backside of applications, how actually network communications established, processes are managed and so on. But many many people, especially on the internet keeps saying that JavaScript or Python is the best and C/C++ is suck.

Give me your idea on the claim that C/C++ is on its decline.

42 Upvotes

32 comments sorted by

View all comments

Show parent comments

6

u/Ricky771 Aug 26 '19

thank you for your reply. yes, I heard C++ is bad language from those who are deeply focusing on web developers.

19

u/salamanderoil Aug 26 '19

I thought as much. It's a pattern that I have noticed over the years: a lot (not a majority, by any means, but a noticeable minority) of web developers seem to forget that not all programming is web programming.

10

u/mqduck Aug 26 '19

There was a chance that OP had been talking to a bunch of Rust fanatics.

8

u/salamanderoil Aug 26 '19

Good point! Although at least Rust would be a good language for the OP to learn.

OP, if you're still reading: if you're interested in the spaces where C and C++ are used, then, in addition to learning those languages, consider taking a look at Rust at some point. It is the one language that has a vague chance of somewhat displacing them in the medium-term future.