Rust P2P Network Application Practical – 2 P2P Chat Program

Rust P2P Network Application Practical - 2 P2P Chat Program

In the article <<Rust P2P Network Application Practical – 1 P2P Core Concepts and Ping Program>>, we introduced the core concepts of P2P networks and analyzed a simple P2P Ping application using the libp2p library. In this article, we will analyze a slightly more complex P2P chat program. This chat program adds a node auto-discovery … Read more

Industrial Real Estate Park Revitalization in Major Rust Belts

Industrial Real Estate Park Revitalization in Major Rust Belts

Author: Jia Xiaobing, Commercial Real Estate Series Article “Introduction to Park Industrial Real Estate” Episode 89 1. Major Rust Belts in the World“Rust Belt” The Rust Belt originally referred to the areas around the Great Lakes in the northeastern United States, where traditional industries have declined. It now broadly refers to regions experiencing industrial decline. … Read more

Effective Approaches for Rust Newcomers

Effective Approaches for Rust Newcomers

Mozilla RustThe official team provides an extensive and high-quality eBook and technical documentation, which is enough for us to read directly.Moreover, I guarantee you won’t finish it because they are continuously updated with newrust versions, and occasionally there are new books on specific topics (for example, async programming, macros, cargo book, rustc book, etc.).I feel … Read more

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