All Posts

2025

  • [Tutorial] Mastering C++ Function Qualifiers: `const`, `virtual`, and `inline` Jun 14, 2025

    C++ offers powerful function qualifiers like `const` correctness, `inline` functions, and virtual dispatch to build robust systems. When combined thoughtfully, these features enable clean interfaces, performance optimizations, and safe polymorphic behavior. This article explores how `const`, `inline`, and virtual functions interact, with practical examples and best practices.

  • [Tutorial] Understanding Virtual and Pure Virtual Functions in C++ Jun 14, 2025

    Virtual functions are a fundamental concept in C++ that enable runtime polymorphism, allowing objects to be treated uniformly while exhibiting different behaviors based on their actual type. This guide provides an in-depth exploration of virtual functions, including their mechanics, best practices, and advanced use cases with pure virtual functions and abstract classes.

  • [Tutorial] Safe Conversion Between `uint8_t*` Memory and `uint32_t` in C++ Jun 09, 2025

    In embedded development, network communication, or file parsing, it is common to convert between raw memory (e.g., `uint8_t*`) and structured data types (e.g., `uint32_t`). This article explains how to safely and efficiently perform bidirectional conversion between `uint8_t*` memory and `uint32_t` values, using clear examples and best practices.

  • [Tutorial] Understanding Python Variable Assignment and Copying Mechanisms Jan 09, 2025

    In Python, understanding how variables are assigned and how copying mechanisms work is crucial for writing robust and efficient code. This blog post aims to demystify these concepts and provide best practices for handling different variable types to avoid unintended side effects.

2024

2023

2022

2021

2020

2019