The Role of Stack Mechanism in Assembly Language

In the field of computer science, the concept of a stack is likely familiar to many. The familiarity and understanding of stacks primarily stem from two aspects. One aspect is that a stack is a type of data structure characterized by the Last In, First Out (LIFO) principle. The other aspect is that a stack … Read more

Rust Daily Report – May 13, 2024: Developing VS Code Extensions with Rust

Developing VS Code Extensions with Rust Visual Studio Code now supports running WASM binaries through WebAssembly execution engine extensions. This allows developers to compile programs written in Rust to WebAssembly and run them directly in VS Code. The key technology in this process is the component model, which standardizes the interaction between WebAssembly components and … Read more

Rust Cured My Mental Exhaustion

作者 | Jonas Hietala 翻译 | 核子可乐 策划 | 褚杏娟 For the past nine years, I have been using Hakyll as a static site generator. Going further back, I primarily used Jekyll, and dynamic pages were implemented using Perl with Mojolicious and PHP with Kohana. However, I have only vague memories of those times, as … Read more

Rust Daily Report – May 6, 2024: Fundamentals of WebAssembly

Plugins in Rust This article introduces how to safely load shared libraries in Rust and further discusses how to use it to extend the language. When discussing how to load shared libraries in Rust, the author demonstrates how to use the libloading library’s Library and Symbol data structures to achieve this. It also discusses ensuring … Read more

Can Rust Replace C Language?

Author | Evrone Planner | Xiao Zhi Rust is an ambitious project by the Mozilla Foundation, touted as the successor to C and C++. For a long time, some fundamental issues in C/C++ have remained unresolved, such as segmentation faults, manual memory management, risks of memory leaks, and unpredictable compiler behavior. The birth of Rust … Read more

Rust vs Nim: Who Will Be the Next Generation Programming Champion?

Introduction to Galileo AI LogRocket’s Galileo AI can monitor every session, revealing important user experience issues and key behavior patterns. Comparing programming languages is not a new topic in the technical ecosystem. Developers continuously evaluate languages, frameworks, and tools. Rust and Nim: A Comparison of Programming Languages Rust and Nim share many similarities and differences … Read more

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

Rust Fixes Critical Command Injection Flaw in std Library for Windows 10/11

Author | Connor JonesTranslator | Zhang WeibinEditor | Ding Xiaoyun This article was originally published on The Register and translated by InfoQ Chinese Station. Rust security experts have resolved a critical vulnerability that could lead to malicious command injection on Windows machines, advising programmers to upgrade their Rust versions. The vulnerability has a CVSS severity … Read more

Rust is ‘Devouring’ Our Systems, It’s Time for C/C++ to Step Down

Author | Rupert Goodwins Translator | Nuclear Cola Editor | Dongmei What is the endless programming language war really about? (This article represents the author’s personal views) It’s time for C/C++ to step down, Rust is the future Rust is rapidly infiltrating our systems. The first driver written in Rust is now part of Linux, … Read more

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