TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 229 subscribers
Post #24230 31
addressed in C. It's a problem that requires objects with copy, move, init, and deinit operators/functions. C++ has a plethora of tools to bake memory safety directly into your data types/design.

Any and all complications in C++ are entirely opt-in. Hate templates? Don't use them. Hate pointers? Don't use them. Hate NULL? Don't use it. You can realistically write C++ that lives entirely on the stack and leverages references/std::move. When I started C++, I was blown away with how high level it was. How scalable the software will be is up for debate, but it's pretty amazing how far std::string and std::vector will get you. I don't think a lot of people actually understand how much of C++ is entirely opt-in.


I'm personally of the belief that C++ entirely removes the need for C, since at the bare minimum you can write raw C in .cpp since the interop is to the point where they're the same language. However, I also recognize that people with years and years of C experience have probably figured out patterns to work around the limitations of the language.

That being said, coming from C myself, I also recognize the immediate power C++ gives you and I've learned purely through experience that the more C++ you adopt, the more performant, scalable, and safe your software becomes. Which is ironic, because those are exactly the types of benefits that "modern" languages swear by. C++ offers them in spades and yet it has to be the most hated and misunderstood language on the internet lol.

https://redd.it/1ovdx7a
@r_cpp
Reddit From the cpp community on Reddit Explore this post and more from the cpp community
More from @r_cpp
  1. Oct 12, 2026[Release] slick-logger v2.2.0 — Lock-free asynchronous C++20 logging with multi-process sh…
  2. Oct 12, 2026Cheap alternative to reboot parameters (nohz, rcu, isolcpus) for stable benchmarks When no…
  3. Oct 12, 2026This C++ drama is crazy - Adobe votes no https://www.youtube.com/watch?v=DEqx_NMMH9Q https…
  4. Oct 12, 2026FastNoise2: noise generation using SIMD and C++17 https://github.com/Auburn/FastNoise2 htt…
  5. Oct 12, 2026New C++ Conference Videos Released This Month - October 2026 (Updated To Include Videos Re…
  6. Oct 12, 2026cxvm: pin a GCC or Clang version per project on Linux (pyenv/nvm, but for C++ compilers) I…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →