top of page



Welcome to EmbeddedHow
Home: Welcome
Home: Blog2
Search


Software-Defined Vehicles (SDV): Understanding the Shift in Automotive Architecture
Imagine buying a car today and discovering that a few months later, a software update improves its driving experience, introduces new features, or enhances the performance of an existing function — without replacing any hardware. This is one of the promises of Software-Defined Vehicles (SDVs). The automotive industry is undergoing a significant transformation. Vehicles are no longer just mechanical machines controlled by a collection of Electronic Control Units (ECUs). They

Sunil Kumar Yadav
3 days ago9 min read


Dysfunctional Interfaces in C++: When a Simple Pointer Can Crash Your Application
C++ provides powerful features such as inheritance and runtime polymorphism that allow us to write generic and reusable code. We often use base-class pointers or references to interact with different derived-class objects through a common interface. But does using a base-class pointer always make an interface generic? Let's understand this with a simple example where a seemingly valid C++ interface can lead to unexpected behavior and even application crashes. 1. Understandin

Sunil Kumar Yadav
Nov 245 min read


Smart Pointers: Understanding Custom Deleters and make_ptr Limitation
Smart pointers are one of the most useful features introduced in modern C++. They help manage object lifetimes automatically and reduce common memory-management issues such as memory leaks and dangling pointers. In my previous article, we discussed unique_ptr, shared_ptr, their memory overhead, and ownership semantics. But have you ever wondered what happens when the default delete operation is not sufficient to release a resource? For example: What if you are managing a file

Sunil Kumar Yadav
Nov 236 min read


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


C++ Object Slicing Simplified
Object-oriented programming and polymorphism are fundamental concepts in C++. Most developers learn that virtual functions allow derived classes to provide specialized implementations while interacting through a base class interface. However, there is a subtle issue that can silently break polymorphism: Object Slicing. In this article, we'll understand what object slicing is, why it happens, and how to avoid it using a few simple examples. What is Object Slicing? Object slici

Sunil Kumar Yadav
May 313 min read


How to Prepare for Technical Interviews: A Practical Guide for Engineers
Preparing for technical interviews can feel overwhelming. Many engineers—whether fresh graduates or professionals with a few years of...

Sunil Kumar Yadav
Aug 25, 20254 min read


From Chaos to Clarity: Lessons from Leading Diverse Tech Teams as a First-Time Tech Lead
When your team is learning, you lead by doing first—and explaining right after... Introduction: Wearing Many Hats Stepping into the role...

Sunil Kumar Yadav
Jul 6, 20255 min read


GPU: Getting Started With CUDA
What is GPU? A graphics processing unit (GPU) is an electronic circuit that processes images and accelerates the rendering of 3D computer...

Sunil Kumar Yadav
Oct 4, 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


C++: Introduction to Concurrency
Concurrency in C++ is a powerful feature that enables developers to create applications capable of performing multiple tasks...

Sunil Kumar Yadav
Sep 18, 20246 min read


Python Decorators Simplified
Decorators are very powerful tool for Python programmer. It allows Python programmers to modify the behavior of a function or a class....

Sunil Kumar Yadav
Jul 20, 20243 min read


Overview Of Clock Source In ARM Cortex-M
Time isn't the main thing. It's the only thing! - Miles Davis Microcontrollers rely on their clock source, which is essential...

Sunil Kumar Yadav
Oct 28, 20237 min read


Adaptor: Must Know Design Pattern (7/7)
In my last article, I discussed the Strategy pattern, which falls under the Behavioural Design Pattern. The Adaptor pattern is classified...

Sunil Kumar Yadav
Oct 22, 20232 min read


Strategy: Must Know Design Pattern (6/7)
The Strategy Pattern is a design pattern in object-oriented programming that falls under the category of behavioral patterns. It is used...

Sunil Kumar Yadav
Oct 21, 20233 min read


Iterator: Must Know Design Pattern (5/7)
The Iterator Pattern is a behavioral design pattern that provides a way to access the elements of an aggregate object (a collection)...

Sunil Kumar Yadav
Oct 21, 20233 min read


Observer: Must Know Design Pattern (4/7)
In my last article, I discussed the Singleton pattern, which falls under the Creational Design Pattern. The Observer pattern is...

Sunil Kumar Yadav
Oct 20, 20234 min read


Singleton: Must Know Design Pattern (3/7)
Singleton is a part of Gang of Four design pattern and it is categorized under creational design patterns. In this article, we will delve...

Sunil Kumar Yadav
Oct 2, 20233 min read


Builder: Must Know Design Pattern (2/7)
In my last article, I discussed the Factory design pattern. Key disadvantages of the Factory method patterns were 1. the high number of...

Sunil Kumar Yadav
Oct 2, 20232 min read


Factory Method: Must Know Design Pattern (1/7)
Factory pattern is a type of Creational Design Pattern. Factory patterns define an interface for creating an object, but let subclasses...

Sunil Kumar Yadav
Sep 24, 20232 min read


Design Pattern: Overview of Reusable Object-Oriented Software
In software engineering, a software design pattern is a general, reusable solution to a commonly occurring problem within a given context...

Sunil Kumar Yadav
Sep 17, 20232 min read
Home: Subscribe
Home: Contact
bottom of page