Suppose const T* ptr1 and T* ptr2 exist and determine whether they are empty, respectively. The C++ and Rust implementations are shown below. Tmp_buffers allocates...
This article aims to present my understanding of Rust's variable/ownership/borrowing mechanism, as well as some of my personal experiences, in as concise and clear a...
The interesting thing about Rust is that the official documentation mentions an integer overflow problem. A u8 variable, if 256 is typed, will have a...
The technical essentials of blockchain technology include consensus, P2P network, cryptography algorithm, smart contract and ledger. In this article I want to briefly elaborate on...
The most important feature of Rust is that it provides memory security with no additional performance penalty. In the development process of traditional system-level programming...
Lately, I've been interested in writing parsers, and Rust has proven to be a great language for writing parsers. During my exploration, the following came...
When we choose a development language, we will consider all aspects of the characteristics, according to the actual needs of the appropriate choice. You can't...
We can pass multiple immutable references to the same piece of data into multiple threads, and since Rust statically guarantees that the underlying data will...
Rust is a system level programming language developed by mozilla. Its main features are high performance (as good as c++), safe operation, and complete documentation...
In this series of articles, I've documented my experience trying to develop a simple Web application using Rust. The last article was disgusting. This time...
Now that you've uploaded your code to your Git hosting platform, start coding. Write directly in the main function, and then organize the code. Before...
This is a project to develop a desktop application using rust-SDL2 and most of rust's syntax features. 0x00. Develop a complete application 0x01 using Rust....
Rust's macros are strong and, unlike the string substitution macros of THE C language, now define current event handling instead. Before refactoring the event-handling code,...
Although the ship with a small effect is done, now the background is black, completely unimpressive, in fact, add texture to create the background, isn't...
WebAssembly has been on a tear in recent years. From LlVM-based Emscripten, to Binaryen trying to build a whole process tool chain, to WASM-Bindgen emerging...