Practical Rust P2P Network Application – File Sharing Project (Part 1)

Practical Rust P2P Network Application - File Sharing Project (Part 1)

Starting from this article, we will enter the practical project phase, a file-sharing project based on a P2P network. This project uses Kademlia and the request-response protocol to build a basic file-sharing application, which can locate and retrieve files by their names. Basic Requirements Assume there are three nodes, A, B, and C. A and … Read more

Building Portable Executables with Rust and Cosmopolitan Libc

Building Portable Executables with Rust and Cosmopolitan Libc

Article – Building Portable Executables with Rust and Cosmopolitan Libc One build, run anywhere. Can Rust truly achieve Actually Portable Executables? The author of this article explores using Cosmopolitan Libc and successfully builds a Rust executable that can run across six platforms: Linux, Windows, MacOS, FreeBSD, NetBSD, and OpenBSD. Actually Portable Executables with Rust and … Read more

Sharing Ideas on Strong Network Cup S8 Rust Pwn Chat-With-Me Problem

Sharing Ideas on Strong Network Cup S8 Rust Pwn Chat-With-Me Problem

1 Problem-Solving Ideas The final number of solutions for this problem is 42, as the difficulty level is not high and generally meets expectations. The problem is coded in Rust, and it was decided to remove symbols without providing the source code the night before the competition. This not only made it very difficult for … Read more

Switching from C++ to Rust: A Significant Improvement in Work Experience!

Switching from C++ to Rust: A Significant Improvement in Work Experience!

Follow us丨Book giveaway at the end of the article I have been working professionally in C++ programming for over four years, but three months ago I found a new job that requires using Rust. I want to share my personal experiences and thoughts on switching between the two languages in this article. Disclaimer: This article … 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

How To Fix And Prevent Buffered Streams Deadlock

How To Fix And Prevent Buffered Streams Deadlock

How To Fix And Prevent Buffered Streams Deadlock Rust has eliminated various stupid bugs and traps that are common in other languages, making it easier to develop and maintain our projects. Unfortunately, when it comes to common problems in asynchronous programming, Rust is not inherently as strong. In fact, asynchronous programming in Rust is much … Read more

Develop Your First Linux Kernel Module Using Rust

Develop Your First Linux Kernel Module Using Rust

Develop Your First Linux Kernel Module Using Rust This is a super detailed tutorial on Rust development for the Linux kernel. Come and use Rust to develop your first Linux kernel module! Original link: https://www.jackos.io/rust-kernel/rust-for-linux.html Rust’s 100,000th Issue The 100,000th issue of Rust has been released, filled with love for Rust. Link to the 100,000th … Read more

Why Choose Golang Over Rust for Desktop App Development?

Source: https://zhuanlan.zhihu.com/p/665841850 The MoonGuard team chose Golang instead of Rust for their Krater desktop application because memory management, type safety, and ORM support are easier in Golang. Some challenges faced when using Rust and Tauri include: Difficulty in understanding Rust’s ownership and borrowing rules, Its strict type safety sometimes limits development speed, Difficulty in finding … Read more

A Senior Developer’s Year-Long Journey Learning Rust

A Senior Developer's Year-Long Journey Learning Rust

Pine from Aofeisi Quantum Bit | WeChat Official Account QbitAI How to learn Rust? An article on Hacker News has gone viral. Unlike similar crash courses available online, this one points out a path to learning Rust through personal experiences. After the tutorial was published, users on Hacker News also shared their learning experiences. Finding … Read more