C++ Monthly Highlights – Issue 11

C++ Monthly Highlights - Issue 11

This month’s C++ topic overview! (2025-08) 1. Structured Binding Variables Do Not Trigger NRVO #include <iostream>#include <tuple>#include <utility> struct T { T() = default; T(const T&) { std::cout << "Copy constructor called\n"; } T(T&&) noexcept { std::cout << "Move constructor called\n"; }}; std::pair<int, T> foo() { return {std::piecewise_construct, std::forward_as_tuple(42), std::forward_as_tuple()};} T func() { auto [x, … Read more

How to Optimize Interrupt Latency in VxWorks

How to Optimize Interrupt Latency in VxWorks

Interrupt latency is one of the key factors affecting the performance of real-time systems. It refers to the time delay from when an interrupt occurs to when the corresponding Interrupt Service Routine (ISR) begins execution. High interrupt latency can lead to untimely system responses, especially in applications involving time-sensitive tasks such as embedded systems, robotics, … Read more

Understanding Linux Flame Graphs for Performance Analysis

Understanding Linux Flame Graphs for Performance Analysis

A Flame Graph is a tool used for visualizing program performance analysis data, helping developers quickly identify performance bottlenecks in their programs. Flame Graphs present call stack information in a graphical format, making complex call relationships intuitive and easy to understand. 1. Principle The core idea of a Flame Graph is to collect the call … Read more

The ‘Hidden Treasure’ After AI Testing: Uncovering API Links Behind UI Operations with Playwright Trace

The 'Hidden Treasure' After AI Testing: Uncovering API Links Behind UI Operations with Playwright Trace

Have you ever encountered such a testing dilemma? UI tests run smoothly, but you have no idea which APIs are being called behind the scenes. When performance issues arise, you only know that the “page is slow” without knowing which interface is lagging. You want to cover API testing, but you don’t know which interfaces … Read more

Analyzing Performance Across Different RISC-V Platforms: PMU Profiling and Hardware-Agnostic Roofline Analysis of SiFive, T-Head C910, and SpacemiT

Analyzing Performance Across Different RISC-V Platforms: PMU Profiling and Hardware-Agnostic Roofline Analysis of SiFive, T-Head C910, and SpacemiT

Keywords: LLVM, performance, Roofline model, RISC-V, PMU, T-Head, SpacemiT, SiFive Dissecting RISC-V Performance: Practical PMU Profiling and Hardware-Agnostic Roofline Analysis on Emerging Platforms https://arxiv.org/abs/2507.22451 https://github.com/alexbatashev/miniperf This article contains 9271 words and takes 31 minutes to read, the podcast is 8 minutes long as follows Recommended Articles A Brief Discussion on the Methodology Behind C/C++ Performance … Read more

Fundamentals of Algorithms: A Comprehensive Comparison of Methods to Separate Integers into Individual Digits in C++

Fundamentals of Algorithms: A Comprehensive Comparison of Methods to Separate Integers into Individual Digits in C++

In daily algorithm development, we often need to decompose integers into individual digits for processing. This article will detail five common methods for digit separation in C++, analyzing their applicable scenarios and performance characteristics. Method 1: Mathematical Operations (Division and Modulus) Principle Explanation The mathematical operation method is based on the decimal representation of integers, … Read more

4 Million Views on the Hierarchical Reasoning Model: Why Didn’t the ‘Hierarchical Architecture’ Work? Performance Improvements Have Other Secrets?

4 Million Views on the Hierarchical Reasoning Model: Why Didn't the 'Hierarchical Architecture' Work? Performance Improvements Have Other Secrets?

Excerpt from ARC PRIZE Author:ARC PRIZE TEAM Translated by Machine Heart Do you remember the Hierarchical Reasoning Model (HRM)? This work was published in June and caused quite a stir—discussions related to it on X/Twitter garnered over 4 million views and tens of thousands of likes, and YouTube videos analyzing this work exceeded 475,000 views. … Read more

Measurement and Analysis of Latency in Linux Storage Systems

Measurement and Analysis of Latency in Linux Storage Systems

Project Background According to statistics from domestic public cloud vendors, hard disk failures account for as much as 60% of all hardware failures, a figure that far exceeds other types of failures. In client feedback from data centers, issues related to latency account for more than one-third. When the storage latency of business servers spikes, … Read more

Comprehensive Guide to Linux Driver Debugging: 10 Debugging Methods from Beginner to Expert

Comprehensive Guide to Linux Driver Debugging: 10 Debugging Methods from Beginner to Expert

Comprehensive Guide to Linux Driver Debugging: 10 Debugging Methods from Beginner to Expert Debugging is an essential part of the Linux driver development process. Since drivers operate in kernel space, traditional user-space debugging tools are often inadequate, necessitating the use of specialized debugging techniques and tools. This article will detail various methods for debugging Linux … Read more

Summary of Methods to View Memory in Linux

Summary of Methods to View Memory in Linux

Viewing Memory in Linux Q: I want to monitor the memory usage of a Linux system. What views or command-line tools are available in Linux? When optimizing a Linux system, physical memory is one of the most important aspects. Naturally, Linux provides many methods to monitor the usage of this precious memory resource. The following … Read more