Learning Experience | C++ Type Traits

Learning Experience | C++ Type Traits

Hello everyone! Last time, Senior Liu Qiang led us to learn about the content related to C++ templates Learning Experience | C++ Templates Click to review the wonderful content of the last issue I believe everyone has benefited greatly from it The editor is no exception This time, the senior will bring us knowledge about … Read more

Exploring C++ Memory Management: Theoretical Insights

Exploring C++ Memory Management: Theoretical Insights

Click the blue text to follow us Author | daydreamer In internet services, C++ is often used to build high-performance, high-concurrency, high-traffic, and low-latency backend services. How to allocate memory reasonably to meet the high-performance requirements of the system is a frequent and important topic, and due to the characteristics of memory itself and the … Read more

How to Fix Slow Internet and Game Lag on Your Phone

How to Fix Slow Internet and Game Lag on Your Phone

Many users often receive notifications about insufficient storage space, low memory, and slow internet browsing. However, they might not have installed many apps, and there is still plenty of space on the SD card. Why does this happen? I’m sure many of you have had this question, so today I will explain! The “Rooms” Inside … Read more

Libmemory: The Dynamic Memory Management Tool for Embedded Systems

Libmemory: The Dynamic Memory Management Tool for Embedded Systems

Dynamic memory management is one of the core challenges in embedded development. Many bare-metal platforms and lightweight RTOS do not provide standard <span>malloc()</span> and <span>free()</span> interfaces, leading to poor code portability and difficult resource management. Today, we introduce libmemory, an open-source tool designed to solve this pain point. This article will explore all aspects of … Read more

Principle and Implementation of Nand Flash ECC Verification

Principle and Implementation of Nand Flash ECC Verification

Follow+Star PublicAccount, don’t miss exciting content Source | nhczp Editor | strongerHuang Everyone should be using USB drives, and the storage chip in the USB drive is NandFlash. The 64G USB drive you bought actually does not have 64G, one reason is the existence of bad blocks. Due to manufacturing processes and other reasons, it … Read more

Understanding The Stack In Embedded Programming

Understanding The Stack In Embedded Programming

What is a Variable? Variables can generally be subdivided as shown below: The focus of this section is to help everyone understand the “stack” in the memory model, temporarily ignoring the situation of “static variables” and agreeing on the following: “Global variables” are simply assumed to be “ordinary global variables”; “Local variables” are simply assumed … Read more

Understanding the Stack in Embedded Programming

Understanding the Stack in Embedded Programming

What is a Variable? A variable can generally be classified as shown in the figure below: The focus of this section is to help everyone understand the memory model of the stack, temporarily ignoring the case of static variables, and we agree on the following: “Global variables” are simply assumed to be “ordinary global variables”; … Read more

Introduction to Memory Management in Armv8/Armv9

Introduction to Memory Management in Armv8/Armv9

Click the blue "Arm Selection" in the upper left corner and choose "Set as Star" 1 Overview This article introduces memory translation in Armv8-A, which is key to memory management. It explains how virtual addresses are converted to physical addresses, the format of translation tables, and how software manages Translation Lookaside Buffers (TLB). This is … Read more

In-Depth Analysis of Linux Processes: Core Techniques to Boost Your Efficiency!

In-Depth Analysis of Linux Processes: Core Techniques to Boost Your Efficiency!

Linux | Red Hat Certification | IT Technology | Operations Engineer 👇 Join the technical exchange QQ group with 1000 members, note 【Official Account】 for faster approval 1. Concept of Address Space In the study of C/C++ language, we often hear people discussing the concept of addresses in memory. In Linux, the exact concept is … Read more

Common Pitfalls in Using C/C++ Pointers

Common Pitfalls in Using C/C++ Pointers

Click the above“Beginner’s Guide to Vision” to selectStarred or “Top” Essential knowledge delivered promptly Pointers in C/C++ provide programmers with more flexibility, but they are also a double-edged sword. If not used properly, they can lead to various problems in your programs. Some say that C/C++ programmers spend half of their time dealing with bugs … Read more