top of page



Welcome to EmbeddedHow
Home: Welcome
Home: Blog2
Search


Smart Pointers: Understanding Ownership, Memory Overhead and Common Pitfalls
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows your whole leg off. — Bjarne Stroustrup Smart pointers are one of the most useful additions introduced in modern C++. Most developers know that smart pointers help prevent memory leaks by automatically releasing dynamically allocated objects. However, understanding the ownership model and memory overhead of different smart pointers is equally important, especially in embedd

Sunil Kumar Yadav
Jun 75 min read
Â
Â
Â


Concurrency In C++: How To Avoid Deadlock
In our last couple of articles we've tired to go through the fundamentals of concurrenc y in C++ using Standard Template Library. We've...

Sunil Kumar Yadav
Sep 30, 20245 min read
Â
Â
Â


Concurrency in C++: Sharing Data Between Threads Using Mutex
In my last article C++: Introduction to Concurrency , I've gone through fundaments of concurrency and it's benefits in terms of improving...

Sunil Kumar Yadav
Sep 22, 20245 min read
Â
Â
Â


Hard Real-Time and C++ Predictability
Hard real-time systems are characterized by their predictability. Such systems are guaranteed to perform intended action in a specified...

Sunil Kumar Yadav
Oct 16, 20215 min read
Â
Â
Â


How std::binary_search work with std::list?
The Standard Library allows you to apply the binary_search and lower_bound algorithms to any sorted sequence container, including std::list

Sunil Kumar Yadav
Sep 16, 20212 min read
Â
Â
Â


Measure elapsed time in the application using the C++ Chrono library
Developing a fast and efficient program requires in-depth knowledge of various algorithms and the underlying platforms. To assist us in...

Sunil Kumar Yadav
Aug 15, 20212 min read
Â
Â
Â
Home: Subscribe
Home: Contact
bottom of page