KissFFT: An Open Source C++ Library for Fast Fourier Transform

KissFFT (full name Keep It Simple, Stupid Fast Fourier Transform) is a lightweight, open-source Fast Fourier Transform (FFT) library written in C. It adheres to the “Keep It Simple” principle, featuring concise code (approximately 500 lines), no external dependencies, making it ideal for resource-sensitive scenarios such as embedded systems and real-time signal processing. The table … Read more

Detailed Explanation of the Linux Top Command

(Pretending to pull up the terminal by tapping the spacebar twice) As a Linux operator or developer, you have certainly encountered the existential question, “The system is lagging, who is consuming resources?” — at this moment, there is no need to panic; just type top, and the characters that pop up on the screen are … Read more

C++ Smart Pointers: Types, Usage, and Practices

C++ Smart Pointers: Types, Usage, and Practices

In today’s article, we will revisit smart pointers in C++. In resource management in C++, manually using <span>new</span>/<span>delete</span> can easily lead to memory leaks, dangling pointers, and exception safety issues. The smart pointers introduced in C++11 encapsulate ordinary pointers with RAII (Resource Acquisition Is Initialization): automatically releasing resources when the object goes out of scope, … Read more

Types of PLC Input Sources: SINK and SOURCE and Their Wiring Methods

Types of PLC Input Sources: SINK and SOURCE and Their Wiring Methods

1. Overview The digital input interface of a PLC is not complex. To enhance anti-interference capability, PLCs use optocouplers to isolate the input signals from the internal processing circuits. Therefore, the signal at the input end only needs to drive the internal LED of the optocoupler to turn on, and the phototransistor of the optocoupler … Read more

In-Depth Understanding of QoS Systems in SoC Chips

In-Depth Understanding of QoS Systems in SoC Chips

—————————————————————————————————————————— Copyright Statement: Author: Wang Weiwei. Mainly engaged in ISP/GPU/video/automotive chips/AI chips/SoC architecture design Zhihu Column: Advanced Path of Chip Design WeChat Official Account: Advanced Path of Chip Design (x_chip) Can be forwarded without authorization, but this statement must be retained, otherwise legal action will be taken! —————————————————————————————————————————— Currently, we are in a data-driven intelligent … Read more

In-Depth Guide to Qt Resource System: Embedded Resource Management and Practical Applications

In-Depth Guide to Qt Resource System: Embedded Resource Management and Practical Applications

1 Basics of Qt Resource System The Qt Resource System is a platform-independent mechanism provided by the Qt framework to embed various resource files (such as images, translation files, audio, etc.) into the executable file of an application. This mechanism allows developers to compile resources directly into the binary file required at runtime, creating more … Read more

A Review of C++ Smart Pointers: Types, Usage, and Practical Scenarios

A Review of C++ Smart Pointers: Types, Usage, and Practical Scenarios

👆Click the blue text "Linux Armory" at the top, and select "Add to Favorites" in the upper right corner to not miss out on great articles and see valuable content first. 👆FollowLinux Armory, to receive hardcore Linux learning materials and code. Today, let’s revisit smart pointers in C++. In C++ resource management, manually using <span>new</span>/<span>delete</span> … Read more

A Brief Overview | File Handles in Linux Systems – Knowledge Points Learning

A Brief Overview | File Handles in Linux Systems - Knowledge Points Learning

This article mainly explains the knowledge related to file handles in Linux (File Handle) and commands. A file handle (FD) is a non-negative integer that serves as anindex, allowing a process to find the corresponding information of anopen file in itsfile descriptor table. Essentially, it is an abstract reference to all I/O resources, representing not … Read more

In-Depth Understanding of QoS Systems in SoC Chips

In-Depth Understanding of QoS Systems in SoC Chips

—————————————————————————————————————————— Copyright Statement: Author: Wang Weiwei. Mainly engaged in ISP/GPU/video/automotive chips/AI chips/SoC architecture design Zhihu Column: Advanced Path of Chip Design WeChat Official Account: Advanced Path of Chip Design (x_chip) Can be forwarded without authorization, but this statement must be retained, otherwise legal action will be taken! —————————————————————————————————————————— Currently, we are in a data-driven intelligent … Read more

C++ Programming Tips: Resource Management Classes Must Provide Access to Raw Resources

C++ Programming Tips: Resource Management Classes Must Provide Access to Raw Resources

Many libraries and functions we use require us to pass raw resources instead of a resource management class object. Therefore, it is essential to design methods in resource management classes to access raw resources. Currently, there are two mainstream methods: 1. Explicit Conversion (Recommended) This method involves designing a function that returns the internal raw … Read more