User Tools

Site Tools


development:cpp

C++

There are many interesting C++ sites and blogs. There's no need to repeat / copy the contents.

Sites, Blogs and Books

Conferences & YouTube channels

Libraries

Selected topics

Out-of-memory handling strategies

  • it's really hard to recover from out-of-memory situations
  • the program needs the possibility to free (or shrink) some memory resources
  • all memory allocations - including utilized libraries - have to be controlled
  • that's practically impossible for big applications depending on many external libraries
  • Linux and it's OOM-killer need special attention
  • related: the requirement for an exception-safe c++ program, so that resources are not leaked
  • for most applications, it's not worth that much efforts. thus, let the program terminate or crash (early)!

some Links:

Templates and SFINAE enable_if

Dynamic Polymorphism vs Curiously Recurring Template Pattern (CRTP)

CRTP: injecting/providing methods to a (template) base class through a template class parameter. This might be done to overcome performance penalties of dynamic polymorphism, e.g. to allow inlining.

Weak Symbols

RAII

Misc articles

Hyrum's Law:
With a sufficient number of users of an API,
it does not matter what you promise in the contract:
all observable behaviors of your system
will be depended on by somebody.

IDE

Compiler & Standard support

Compiler + IDE

Profiler

development/cpp.txt · Last modified: 2023/12/26 by hayati