Understanding C++ Compilers: A Comprehensive Guide

Understanding C++ Compilers: A Comprehensive Guide

In C++ development, C++ Compiler is the core tool that converts your written C++ source code (.cpp files) into machine code (or intermediate code) executable by computers. Without a compiler, your C++ programs cannot run. Therefore, choosing a suitable C++ compiler is the first step in starting C++ programming. 🎯 1. What is a C++ … Read more

libcpp: A C++ Standard Library for Embedded Systems

libcpp: A C++ Standard Library for Embedded Systems

In embedded system development, C++ is gradually becoming the mainstream programming language due to its powerful expressive capabilities and rich library functions. However, the standard C++ library is often too large and not suitable for resource-constrained embedded environments. At this point, a lightweight and configurable C++ standard library becomes particularly important. Today, we will delve … Read more

C++ Developments in 2019

C++ Developments in 2019

C++ Software Engineer Bartek published a blog reviewing the developments of C++ in 2019. Bartek mainly introduced the evolution of C++ features in 2019, significant advancements in global conferences, improvements in related tools, and expectations for new features in C++20. He summarized three major points of focus: C++20 is about to be released Tools have … Read more

Cross-Compile ARM Architecture Browser on Deepin Linux

Cross-Compile ARM Architecture Browser on Deepin Linux

With the gradual development of domestic information technology systems, more and more devices are adopting non-x86 architecture CPUs, such as ARM, Loongson, Shenwei, and RISC-V. Among them, the ARM architecture has the highest market share, with major manufacturers including Phytium and Huawei Kirin. When developing software for these domestic systems, it is often necessary to … Read more

C Language: The Relationship Between clangd, Clang, and GCC

C Language: The Relationship Between clangd, Clang, and GCC

“ This article discusses the relationship between clangd, Clang, and GCC through answers to various questions.” The Relationship Between clangd, Clang, and GCC Discuss the JIT compilation technology based on Intermediate Representation (IR), introducing the LLVM compilation chain/Clang frontend (compiler project) which is also based on IR. As a compiler striving to replace GNU/GCC, compare … Read more

LWN: Progress on GCC BPF Support!

LWN: Progress on GCC BPF Support!

Follow us to see more great articles like this! An update on GCC BPF support By Daroc AldenApril 2, 2025LSFMM+BPFGemini-1.5-flash translationhttps://lwn.net/Articles/1015747/ JosĂ© Marchesi and David Faust opened a session on BPF (Berkeley Packet Filter) at the 2025 Linux Storage, Filesystems, Memory Management, and BPF Summit, where they presented a lengthy discussion on their work to … Read more

CLion Tutorial: Code Coverage

CLion Tutorial: Code Coverage

Operating System: Linux / macOS / Windows Project Format: CMake Management Suite: Run | Manage Coverage Reports Ctrl+Alt+F6 Coverage Settings: Settings Ctrl+Alt+S | Build, Execution, Deployment | Coverage In CLion, you can run CMake applications and tests with code coverage measurement. The code coverage results provide the percentage of code lines executed during runtime and … Read more

Understanding the Differences Between Clang and GCC

The main differences between Clang and GCC are as follows: Clang compiles faster than GCC, including time for preprocessing, syntax analysis, parsing, semantic analysis, and abstract syntax tree generation. Clang uses less memory than GCC. The intermediate products generated by Clang are smaller than those generated by GCC. Clang provides more user-friendly error messages than … Read more

Comprehensive Summary of ARM Basics

Comprehensive Summary of ARM Basics

One ARM Assembly Generally, our computers are X86 architecture machines. Here we use clang to compile our files. Compiling files by ourselves and using IDA to learn alongside makes it easier to understand. Two Some instructions about clang: Using clang to directly compile into an executable file // Compile our file into ARMv5 architecture file … Read more

LLVM Example Practice: Compiling LLVM/Clang on ARM and Writing LLVMPass

LLVM Example Practice: Compiling LLVM/Clang on ARM and Writing LLVMPass

"IT Talk" is a professional IT information and service platform under the Machinery Industry Press, dedicated to helping readers master more professional and practical knowledge and skills in the broad field of IT, quickly enhancing their competitiveness in the workplace. Click the blue WeChat name to quickly follow us! How to Compile LLVM/Clang on ARM … Read more