Modern C++ Patterns

Modern C++ is a Mess (And I Love It)

Miten hyödyntää Moderni C++ -ohjelmointikieltä tehokkaasti ja joustavasti?
https://www.tieturi.fi/webinaari-miten-hyodyntaa-moderni-c-ohjelmointikielta-tehokkaasti-ja-joustavasti/

Modern C++ Design Patterns Full Course

C++ Design Patterns – The Most Common Misconceptions (2 of N) – Klaus Iglberger – CppCon 2024

Hands-On Design Patterns with C++ by Fedor Pikus

Design Patterns in C++

Modern C++ Design Patterns Tutorial

Design Pattern Catalogue

Singleton Pattern | C++ Design Patterns

Observer
Also known as: Event-Subscriber, Listener
Observer is a behavioral design pattern that lets you define a subscription mechanism to notify multiple objects about any events that happen to the object they’re observing.
https://refactoring.guru/design-patterns/observer

Strategy
Strategy is a behavioral design pattern that lets you define a family of algorithms, put each of them into a separate class, and make their objects interchangeable.
https://refactoring.guru/design-patterns/strategy

How to Create Custom Memory Allocator in C++?

Template Metaprogramming in C++

From C++ Templates to C++ Concepts – Metaprogramming: an Amazing Journey – Alex Dathskovsky

Embedded C++ : to use STL or not?

Standard Template Library (STL) in C++
https://www.geeksforgeeks.org/cpp/the-c-standard-template-library-stl/
https://en.wikipedia.org/wiki/Standard_Template_Library

In embedded systems, how much memory C++ STL uses depends heavily on:
The container type
The number of elements
The implementation (libstdc++, libc++, etc.)
Whether dynamic allocation is used
Compiler optimization settings
There is no fixed memory cost, but I’ll break it down clearly.
Heap Usage (Critical for Embedded)
Most STL containers use dynamic memory (new).

Problems in embedded:
Heap fragmentation
Unpredictable allocation time
Memory exhaustion
No control over allocator unless customized

STL within embedded system with very limited memory
https://stackoverflow.com/questions/9612588/stl-within-embedded-system-with-very-limited-memory

Understanding Memory Management, Part 2: C++ and RAII
https://educatedguesswork.org/posts/memory-management-2/

0 Comments

Be the first to post a comment.

Leave a Comment

Your email address will not be published. Required fields are marked *

*

*