C++ Program Build Process: Preprocessing → Compilation → Assembly → Linking Stages and Comparison of Toolchains on Windows, macOS, and Linux

C++ Program Build Process: Preprocessing → Compilation → Assembly → Linking Stages and Comparison of Toolchains on Windows, macOS, and Linux

In the C++ program build process, there are four stages: Preprocessing → Compilation → Assembly → Linking. The toolchains invoked behind the scenes vary slightly across different platforms. Below is a comparison table listing common tools in the mainstream environments of Windows / macOS / Linux: 📑 C++ Build Process Tool Comparison Stage Windows (MSVC) … Read more

Pyloid: A Framework for Packaging Python Applications as Desktop Apps

Pyloid: A Framework for Packaging Python Applications as Desktop Apps

Pyloid is a framework that packages Python applications as desktop applications: it connects the front end (HTML/CSS/JS, any framework is acceptable) and the back end Python through a thread-safe RPC, supporting multiple windows, single/multiple instances, window customization, cross-platform (Windows/macOS/Linux), and has a clean and intuitive code structure. In simpler terms, it allows Python developers to … Read more

i2cdevlib: A Library Collection for Various I2C Devices

i2cdevlib: A Library Collection for Various I2C Devices

To be honest, dealing with peripherals in embedded systems can be quite challenging, especially with the various I2C chips each having their own set of registers and read/write protocols. Just when you have the MPU6050 sample working, you can easily get confused by the bit fields of another sensor. i2cdevlib acts like a “middleman”—abstracting the … Read more

A 1-Minute Guide to Opening Douyin Command Links: 3 Methods and Usage Rules

A 1-Minute Guide to Opening Douyin Command Links: 3 Methods and Usage Rules

A 1-Minute Guide: 3 Methods to Open Douyin Command Links and Usage Rules Have you often seen Douyin command links starting with “http://v.douyin.com/” in WeChat groups? Friends excitedly share fun videos, copy the link to you, but when you click it, it doesn’t redirect? Don’t worry, this isn’t a broken link; you just need to … Read more

Complete Source Code | Cross-Platform Logging Library in C Language for Enterprise Development

Complete Source Code | Cross-Platform Logging Library in C Language for Enterprise Development

Recommended Reading Understand “Stack Overflow” and “Heap Overflow” in C language with the most straightforward explanation on the internet. GitHub stars: 88.9K, 9 amazing open-source projects! Latest C language interview questions summary PDF detailed version. Do you understand the original code, inverse code, and complement code? From essence to implementation, let’s talk about what C … Read more

HttpRunner (hrp) Installation and Usage Guide

HttpRunner (hrp) Installation and Usage Guide

HttpRunner (hrp) Installation and Usage Guide Table of Contents • 1. Introduction • 2. Installation on Windows • 3. Installation on macOS • 4. Basic Usage • 5. Detailed Parameters of hrp Command 1. Introduction HttpRunner is an open-source API testing tool that supports various network protocols such as HTTP(S), HTTP2, WebSocket, and RPC.<span>hrp</span> is … Read more

Building a C++ Network Library from Scratch: My Journey in High-Performance Socket Programming

Building a C++ Network Library from Scratch: My Journey in High-Performance Socket Programming

1. Why Rewrite a Network Library? During my learning process of C++ network programming, I found that the native Socket API has poor cross-platform compatibility, complex error handling, resource management issues leading to leaks, and a lack of advanced features. Therefore, I decided to encapsulate a high-performance and user-friendly network library. 2. Core Design 2.1 … Read more

CMake Tutorial 1: What Is CMake?

CMake Tutorial 1: What Is CMake?

In the past year, my work has been focused on native development, as I have spent most of my time working with cocos2dx. Therefore, future articles will lean towards C++. Understanding CMake Before introducing CMake, it’s necessary to cover some basic computer science concepts to better understand what CMake is. How to Compile a Program … Read more

CMake Learning Notes

CMake Learning Notes

CMake Learning Notes Chapter 1 Understanding CMake 1.1 CMake Introduction The make tool completes and automatically maintains the compilation work through a file called Makefile . The Makefile describes the compilation and linking rules of the entire project. Most IDEs have this tool, such as: Visual C++’s nmake, GNU make under Linux, QT’s qmake, etc. … Read more

CMake Lesson 1: What Is CMake and Why You Need It?

CMake Lesson 1: What Is CMake and Why You Need It?

Click the blue textFollow the blogger 1. Introduction In the world of software development, code is just the first step. To turn this code into an executable program, we need the help of build tools. Today, we will get to know a very important tool – CMake. A previous article titled “Don’t Know How to … Read more