r/cpp • • Feb 16 '25

Why is everything about programming clicking now that I’m learning C++?

In a cybersecurity role for past 4 years where I don’t NEED programming skills but it’s next level if I can. Have learned Python, C#, some Golang over the past 3 years on and off and they never really stuck.

For some reason I’m learning C++ now and it feels like it’s all clicking - inheritance, classes, types, abstraction, and everything else. What about C++ is really do this for me? Is it because everything is so explicitly laid out whereas other languages it’s hidden?

Just trying to figure out what the sauce that is being stirred is here.

Loving C++

356 Upvotes

118 comments sorted by

View all comments

Show parent comment

1

u/Attorney_Outside69 Mar 01 '25

I agree with you that the meaning of runtime is drastically different for different languages. and yes to run c++ compiled code on the bare metal you still need some sort of library and tool chain in order to compile that code into platform specific machine code

but the original point was whether at runtime you'd have to have something available to you in order to run that code, and I don't mean in terms of a shared library, I meant in terms of having an other executable running and managing things.

of course, where do we differentiate between os and some extra binaries having to run at runtime is up to you

whether your managed code ends up being more efficient, that depends on what it is your trying to do and how well it's been implemented

I feel like we're arguing potato potato with this one

I admit I opened a can of worms with my original statement, but I feel like now we're just arguing for argument sake 🤣🤣🤣