The Rust Language: Aiming to Change the World

The Rust Language: Aiming to Change the World

Author: Zhang Handong A programming language is like a small universe, with various syntax concepts resembling stars scattered across the sky. For beginners, the confusion caused by these syntax concepts is similar to the bewilderment one feels when gazing at the starry sky. Fortunately, programming languages are created by humans, and the authors of these … Read more

Comprehensive Guide to Concurrency in Python: From Multithreading to Asynchronous Performance Optimization

Comprehensive Guide to Concurrency in Python: From Multithreading to Asynchronous Performance Optimization

1. Why is Concurrency Programming the Key to Breaking Python’s Performance Bottleneck? In the 2025 Python Developer Survey, 82% of performance optimization cases involved concurrency programming. Faced with I/O-intensive tasks (such as network requests and file operations) and CPU-intensive tasks (such as image processing and data analysis), the combination of asynchronous/multiprocessing/multithreading can bring astonishing performance … Read more

Understanding the Low-Level Implementation of Atomic Operations in the Linux Kernel (armv8-aarch64)

Understanding the Low-Level Implementation of Atomic Operations in the Linux Kernel (armv8-aarch64)

Typically, a line of code like<span><span>a = a + 1</span></span> translates into three assembly instructions: ldr x0, &aadd x0,x0,#1str x0,&a That is, (1) read the variable a from memory into the X0 register, (2) add 1 to the X0 register, (3) write the value of X0 back to memory a. Since there are three instructions, … Read more

Comparison of Speed Between Rust and C

Comparison of Speed Between Rust and C

Author | Kornel Translator | Sambodhi Planner | Zhao Yuying This article was originally published on the author’s personal blog and is translated and shared by InfoQ Chinese site with the authorization of the original author Kornel. Programs written in Rust should have runtime speeds and memory usage comparable to those written in C. However, … Read more

Exploring the Rust Language: The Perfect Fusion of Efficiency, Safety, and Concurrency

Exploring the Rust Language: The Perfect Fusion of Efficiency, Safety, and Concurrency

In today’s programming language landscape, Rust is attracting the attention of an increasing number of developers with its unique charm. Born in the Mozilla labs, it aims to address long-standing challenges in system programming and has become a powerful tool for building reliable and efficient software. 1 Memory Safety Rust fundamentally eliminates common memory safety … Read more

Traffic Dispatch Engine: Real-Time Path Planning Implementation in Go

Traffic Dispatch Engine: Real-Time Path Planning Implementation in Go

Click the “blue text” above to follow us Yesterday, Xiao Wang called me: “Brother Feng, help! Our traffic dispatch system crashed, thousands of vehicles are requesting paths simultaneously, and the server is as slow as a snail!” After hearing his description, I laughed. Isn’t this a typical high-concurrency scenario? It’s just the right time to … Read more

Rust: A Future for Safe Real-Time Software Without C/C++

Rust: A Future for Safe Real-Time Software Without C/C++

Author: lochsh Translator: Ma Kewei Editor: Wang Wenjing As an emerging programming language, Rust is heavily influenced by functional programming languages such as Haskell and OCaml, making its syntax similar to C++, but its semantics are entirely different. Rust is a statically typed language with complete type inference, unlike C++ which has partial type inference. … Read more

The Success of Go Also Heralds the Success of Rust

The Success of Go Also Heralds the Success of Rust

Original: The success of Go heralds that of Rust Author: George Hosu Translators: xiaoaiwhc1, shenweiyan, 溪边九节, 兰陌木兮, adoontheway, 蜗牛伊 From a holistic perspective, it is difficult to understand how Go has achieved such great success. Theoretically, Go is a very poor language, even when compared to older languages like C++ or Ada. It lacks a … Read more

Linux Kernel Synchronization Mechanisms: Unlocking the Secrets of Concurrent Programming

Linux Kernel Synchronization Mechanisms: Unlocking the Secrets of Concurrent Programming

In today’s digital age, multi-core processors have become standard in computer systems, from our everyday office computers to the massive server clusters in data centers. This hardware advancement allows computer systems to handle multiple tasks simultaneously, greatly enhancing computational efficiency. Just like a busy traffic hub with multiple lanes, vehicles move back and forth, seemingly … Read more

A Comprehensive Guide to Python Multiprocessing Programming

A Comprehensive Guide to Python Multiprocessing Programming

A Comprehensive Guide to Python Multiprocessing Programming Implementing concurrent programming in Python is an important means to enhance program performance, and multiprocessing programming is an effective way to overcome the limitations of the Global Interpreter Lock (GIL). The multiprocessing module in the Python standard library provides developers with a complete solution for multiprocessing. This article … Read more