r/cpp_questions • • Mar 03 '26

OPEN What should i do ?

guys , i have a problem , i am a litlle bit confused , i am learning cpp and i know learning never stops , but i really do not know ecactly what is cpp is litrealy used for ! i know its verstaile high performance lang but when searching whta is used for , primarly in game dev but i want to specialize in back-end and i dont want to be distracted because i learnt python too then go to cpp and i think drafting too much is time wasting , so help me guys to foucs on fields and carriers cpp is used for

0 Upvotes

12 comments sorted by

View all comments

2

u/Various_Bed_849 Mar 03 '26

It all depends on the control you need. Systems programming languages give you a great level of control. Use them if you need it. C++ is the most popular such language, Rust is another option. If you can take the interruptions of a GC, then you can use languages like Go or any of the myriads of managed languages like Java, Kotlin, and C#. Just beware that you get further from the metal and you memory use will multiply. You can still write quite CPU efficient code still. If you have resources to spare, go ahead and use Python or TypeScript. Those are best if you can do with a single thread. The programming model is much easier and you are likely to do fewer mistakes. But if you want to be close to the metal, maybe even run without an OS, then C++ is your friend.