Zellij - a typical performance optimization case of Rust program
We programmers usually open many Terminal windows in parallel in the development process, especially in the process of program debugging. However, over time, you may forget what each Terminal is used for. Therefore, how to keep the interface fresh without reducing work efficiency has become the biggest pain point for many developers.
...
Added by kaser on Sat, 11 Dec 2021 06:12:11 +0200
Rust language Bible 23 - Method
Original link: https://course.rs/basic/method.html Welcome to Rust programming college, the best Rust learning community in China
Official website: https://college.rsQQ group: 1009730433
Method
Students from object-oriented language are certainly familiar with methods. class is full of the concept of methods. In Rust, the concept of met ...
Added by justineaguas on Fri, 10 Dec 2021 17:29:15 +0200
Rust common collection
Common collections
Arrays and tuple s are stored on the stack. The set written here is stored on the heap, that is, the storage size is variable during operation.
Vector indefinite length array
Type signature: Vec
Provided by the standard library, multiple values can be stored, only the same type of data can be stored, and the values are stored ...
Added by daggardan on Mon, 29 Nov 2021 15:11:21 +0200
Make the Rust module system clear
The Rust module system is very confusing and makes novices feel a great sense of failure
In this article, I will explain the modular system with practical examples. You will clearly understand how it works and can be applied to your project immediately
Since the Rust module system is very unique, I ask you to open your mind when reading t ...
Added by blawson7 on Tue, 23 Nov 2021 04:01:43 +0200
[dry goods] deployment of Filecoin Venus cluster test network (calibration)
What did you learn?
Complete the cluster construction, deploy Venus worker on multiple machines and cooperate with Venus sealer (close to the production environment)
Overall objectives:
1. Implement multiple worker sealed sectors
2. Mining
Test server configuration
Server system: U ...
Added by mlla2 on Sat, 20 Nov 2021 21:35:05 +0200
Recommend a Shell force artifact
Today, I want to introduce a productivity tool (force artifact) Shell. It is called NuShell. It is written in Rust. While improving security, the Bug rate is also reduced. NuShell focuses on achieving the following goals:
Create a modern, flexible, cross platform ShellAllows you to mix and match command-line applications with shells that under ...
Added by pmzq on Tue, 09 Nov 2021 06:50:11 +0200
Rust basic properties
characteristic
In Rust, attributes consist of method signatures. If a type implements all the methods defined by an attribute, the type is said to have this attribute. When defining a function or method, you can set the type of the parameter as a feature. When passing parameters, you can pass all variables of the type with this feature. In ...
Added by markhard on Sat, 16 Oct 2021 06:17:53 +0300
[algorithm learning] 1486. Array XOR operation (Java / C / C + + / Python / go / trust)
Thank you very much for reading this article~ Welcome[ 👍 [like][ ⭐ Collection][ 📝 [comments]~ It's not hard to give up, but it must be cool to insist~ I hope all of us can make a little progress every day~ This paper consists of The white hat of the second leader https://le-yi.blog.csdn.net/ Blog originality~
1486. Array XOR opera ...
Added by juliston on Wed, 13 Oct 2021 06:42:17 +0300
day14 - decorators and modules
day14 - decorators and modules (10.8)
Knowledge outline:
1. Decorator 2. Module (import of modules and packages, use of system modules) 3. Modules: math,random,time\datetime - (time management) is very important, OS - (file and file plus management) is important, os.path() module 4. hashlib - learn
1. Add functionality to functions
Funct ...
Added by aaronfenker on Fri, 08 Oct 2021 13:47:13 +0300