Reducing Rust Compilation Time from 30 Minutes to 2 Minutes: How Crate Splitting Strategies Can Save a Million-Record Data Stream System

Reducing Rust Compilation Time from 30 Minutes to 2 Minutes: How Crate Splitting Strategies Can Save a Million-Record Data Stream System

Reducing Rust Compilation Time from 30 Minutes to 2 Minutes: The Challenge of Handling a Thousand Libraries Rust is very fast at runtime—but not so much at compile time. This is no news to anyone with serious experience writing Rust code. There is a whole category of blog posts dedicated to reducing cargo build times. … Read more

Buildroot: Building and Usage Guide

Buildroot: Building and Usage Guide

Click on the above “Linux Notes” and select “Pin/Star Public Account” Get valuable content delivered first-hand What is Buildroot Obtaining Buildroot Source Code Buildroot Directory Structure Buildroot Compilation Configuration Full Compilation Individual Compilation How to Add Custom Third-Party Projects How to Patch Buildroot Source Code Summary In the previous article, we discussed how to build … Read more

A Minimalist Guide to Makefile

Makefile is an indispensable build tool in embedded development that automates the compilation and linking process, supporting incremental builds (only recompiling modified files), avoiding the need to repeatedly input lengthy commands, and significantly improving development efficiency. 1. Core Logic of Makefile Each Makefile rule follows the core structure of “target – dependencies – commands”, which … Read more

Compiling ossfs on Rocky Linux 9

ossfs allows you to mount the object storage OSS bucket to the local file system in a Linux environment, enabling you to manipulate OSS objects just like local files, facilitating data sharing. Operating Environment:Rocky Linux release 9.2 (Blue Onyx) 1. Dependency Packages dnf install gcc-c++ autoconf automake libtool libcurl-devel gettext-devel 2. Compiling libfuse from Source … Read more

Makefile Practical Guide: Start from Scratch for Effortless Code Compilation

Introduction: Are you also a “Command Repeater”? Every time you compile code, you have to type a long string of commands: gcc -o app main.c tool.c -I./include -L./lib -lm…… Change a line of code, and you have to type it all over again; if you mistype a character, you have to start from scratch — … Read more

Complete Guide to Compiling RustDesk Flutter Version on Windows

Complete Guide to Compiling RustDesk Flutter Version on Windows 📋 Introduction This tutorial is suitable for compiling the Flutter version of RustDesk on Windows 10/11. RustDesk is an open-source remote desktop software, and the Flutter version provides a more modern UI interface. Test Environment: Windows 11 RustDesk version 1.43 Flutter 3.24.5 Rust 1.90+ 🛠️ Part … Read more

Complete Analysis of Rust Project Goals for the Second Half of 2025

This article is from https://blog.rust-lang.org/2025/10/28/project-goals-2025h2 On September 9, 2025, we merged RFC 3849 and officially announced the project goals for the “second half” of 2025—more accurately, the goals for the last three months, as I have been slightly delayed in organizing the goal planning. 1. Flagship Themes In previous rounds of goal planning, we set … Read more

Basic Operations for Compiling with gcc and g++

Generally, compilation requires support from library files. For example, static library files and dynamic library files. On Windows, .lib files are static library files. .dll files are dynamic library files. The suffix for library files is as follows: The suffix for static library files is .a. The suffix for dynamic library files is .so. The … Read more

Building and Compiling Linux Crypto Driver

Driver Create a<span>demo</span> directory under <span>linux/drivers/crypto</span>. Create the following files: $ tree demo ├── demo_crypto_core.c ├── demo_crypto_core.h ├── demo_crypto_hash.c ├── Kconfig └── Makefile The content of the <span>Makefile</span> is as follows: # SPDX-License-Identifier: GPL-2.0-only # Enable debugging ccflags-y := -DDEBUG obj-$(CONFIG_CRYPTO_DEV_DEMO) += demo_crypto.o demo_crypto-objs := demo_crypto_core.o \ demo_crypto_hash.o The contents of the other files will … Read more

Installing GCC 12 on CentOS 7: A Comprehensive Guide from Dependency Preparation to Compilation Verification

Installing GCC 12 on CentOS 7: A Comprehensive Guide from Dependency Preparation to Compilation Verification As a “compilation tool” in Linux systems, GCC (GNU Compiler Collection) is a core tool for developing programs in C, C++, and more. However, the default GCC version that comes with CentOS 7 is relatively low (usually 4.8.5), which cannot … Read more