Microsoft Plans to Replace C and C++ with Rust

Microsoft Plans to Replace C and C++ with Rust

Author: Wang Wenjing Yesterday, the Microsoft Security Response Center (MSRC) team updated an article on their official website regarding their latest plan to use Rust as a replacement for C, C++, and other programming languages to improve application security. This plan includes further in-depth discussions on aspects such as spatial memory safety, temporal memory safety, … Read more

Rust Programming: A Beginner’s Guide to High-Performance Development

Rust Programming: A Beginner's Guide to High-Performance Development

Rust Programming: A Beginner’s Guide to High-Performance Development Do you want to master a programming language that combines the performance of C++ with modern safety features? Rust is your ideal choice! As a “rising star” in the fields of system programming and high-performance development, Rust is not only adopted by major companies like Firefox and … Read more

The Battle of Code: Rust vs C for the Safety of a Billion Devices!

The Battle of Code: Rust vs C for the Safety of a Billion Devices!

Introduction: Attention everyone! Tweede Golf has made a significant move; they want to uncover how to expose memory vulnerabilities and prove the superpowers of the Rust language in protecting the safety of billions of devices. The Dutch Rust software engineering consultancy Tweede Golf recently conducted an experiment that yielded surprising results, revealing why Rust is … Read more

Carbon: The Successor to C++ Gains Popularity on GitHub, C++ Creator Comments on Its Standards

Carbon: The Successor to C++ Gains Popularity on GitHub, C++ Creator Comments on Its Standards

Source | This article is authorized for reprint by AI new media Quantum Bit (ID: QbitAI). Please contact the source for reprinting. Author | Alex from Aofeisi At this year’s CPP North C++ conference, Google announced a new programming language Carbon, claiming it to be the “successor to C++”. Google has open-sourced it on GitHub. … Read more

C++ Creator: The Safety of Memory-Safe Languages Like Rust is Not Superior to C++

C++ Creator: The Safety of Memory-Safe Languages Like Rust is Not Superior to C++

Produced by | OSC Open Source Community (ID: oschina2013)After the National Security Agency (NSA) in the United States recommended organizations switch from C/C++ to memory-safe languages (such as C#, Rust, Go, Java, Ruby, or Swift), C++ creator Bjarne Stroustrup responded, stating that in his view, the “safe” programming languages mentioned in the NSA report are … Read more

In-Depth Analysis of std::out_ptr and std::inout_ptr in C++23

In-Depth Analysis of std::out_ptr and std::inout_ptr in C++23

C++23 introduces two new standard library function templates<span><span>std::out_ptr</span></span> and <span><span>std::inout_ptr</span></span>, along with their corresponding types <span><span>std::out_ptr_t</span></span> and <span><span>std::inout_ptr_t</span></span>, aimed at enhancing the readability and safety of code interacting with C-style APIs. This article will provide a technical analysis of the design motivations, functional details, usage scenarios, and implementation mechanisms of these two new features, ensuring … Read more

Microsoft Embraces Rust

Microsoft Embraces Rust

↓Recommended Follow↓ Source: OSC Open Source Community (ID: oschina2013) Windows 11 released a new test version (Insider Preview Build 25905) last week.The release announcement mentioned that this version has rewritten some functions in the Windows 11 kernel using Rust.It is reported that this preview version implements key kernel functions using safe Rust. Specifically, win32kbase_rs.sys contains … Read more

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