Rust Learning Notes – 01

Rust Learning Notes - 01

Introduction – Why I Want to Learn Rust? I have always wanted to learn a compiled language for several reasons: (1. I saw a requirement in a professor’s lab to master a compiled language; 2. I want to try developing some practical bioinformatics tools, as I currently prefer creating something useful over exploring the biological … Read more

Advanced Rust: Mastering the Core Competencies of Unsafe Programming

Advanced Rust: Mastering the Core Competencies of Unsafe Programming

1. Unveiling the Mysteries of Rust: A Deep Dive into the Unsafe Keyword 1.1 What is Unsafe? <span>unsafe</span> is like a special key that unlocks doors restricted by Rust’s safety mechanisms, allowing developers to perform low-level operations that are not constrained by conventional safety checks. The Rust language is renowned for its strong memory safety … Read more

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

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

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

Stop Saying Rust is Overhyped

Stop Saying Rust is Overhyped

Author | thenewwazoo (online name)Translator | Nuclear Cola, Liu Yan Author’s Note: I wrote this article with great care, trying to avoid any overly affirmative or easily misunderstood statements. I also have my regular job and cannot fully devote myself to promoting Rust, so I can only express my feelings through this article. Due to … Read more

Understanding Memory Safety in Rust

Understanding Memory Safety in Rust

Understanding Memory Safety in Rust Language Features Ensuring Memory Safety Over the past decade, Rust has become the preferred choice for those looking to write fast and memory-safe native machine software. While languages like C can operate efficiently at a low hardware level, they lack language features that ensure proper memory allocation and deallocation. As … Read more

The Future of Rust Code in the Linux Kernel: Progress Amid Controversy

The Future of Rust Code in the Linux Kernel: Progress Amid Controversy

The Future of Rust Code in the Linux Kernel: Progress Amid Controversy Introduction Since the first integration of Rust code into the Linux kernel in 2022, the controversy surrounding its introduction has never ceased. The Rust language is praised for its excellent memory safety features and is seen by many governments and security experts as … Read more

Facebook’s Preferred Programming Languages: Hack, Python, C++, Rust

Facebook's Preferred Programming Languages: Hack, Python, C++, Rust

Produced by | OSC Open Source Community (ID:oschina2013) Meta has announced the approval of Hack, Python, C++, and Rust as the preferred programming languages for employees and developers to build software on its platform. The company stated to The Register that supporting a programming language is not a decision that can be made lightly. “It … Read more

A Concise Comparison of Memory Safety in Rust, C++, and Go

A Concise Comparison of Memory Safety in Rust, C++, and Go

A Concise Comparison of Memory Safety in Rust, C++, and Go Memory safety is a hot topic today. While everyone seems to agree that memory safety is very important, what truly constitutes safety remains subjective. Jeff Schwab’s article will guide us through semantically equivalent Rust, C++, and Go code, comparing how their approaches to safety … Read more