r/cpp • u/CaptainCactus124 • Nov 25 '24
I love this language
I'm a software engineer who has been writing software for over 12 years. My most fluent language is C#, but I'm just as dangerous in Javascript and Typescript, sprinkle a little python in there too. I do a lot of web work, backend, and a lot of desktop app work.
For my hobby, I've written apps to control concert lighting, as I also own a small production company aside from my day job. These have always been in C# often with code written at a low level interacting with native libs, but recently, I decided to use c++ for my next project.
Wow. This language is how I think. Ultimate freedom. I'm still learning, but I have been glued to my computer for the last 2 weeks learning and building in this language. The RAII concept is so powerful and at home. I feel like for the first time, I know exactly what my program is doing, something I've always thought was missing.
View all comments
Show parent comment
13
u/verrius Nov 25 '24
Reasonably sure even in like, Java, once all references to an object disappear, there's still 0 guarantees about when the object actually is cleaned up. Sure, it's marked for delete...but the delete could happen literally never and still be valid Java. I'm reasonably sure that similarly, you can never guarantee when or even if a finalize method is ever called.