DEV Community

Discussion on: Pitch me on C++

Collapse
 
wesen profile image
Manuel Odendahl

I have a love hate relationship with C++.

  • Fast, zero abstractions, full memory control. This makes it one of the few fits for certain kind of programming: realtime / embedded / needing close control of memory behaviour
  • Has gotten quite nice with each successive standard since C++11
  • Strong and malleable type system. You can express many things with it.
  • Memory ownership is mostly a solve issue with smart pointers.
  • Decent IDE support with CLion (although you will need RAM)
  • Depending on where you are coming from, more accessible than Rust
  • Some amazing libraries out there (Qt), easy interop with C libraries
  • Great compilers

There's many things I could say about why I hate C++, but that's not what you are asking for.