update readme

This commit is contained in:
sunface
2022-02-23 17:11:31 +08:00
parent dc6a4fb48a
commit d4a716d36c
176 changed files with 407 additions and 1 deletions

View File

@ -1 +1,28 @@
# Rust exercise
Greetings and welcome to `exercise.rs`here you can find bunch of easy to hard exercises to improve your Rust skillsthis will help you fill the gap of easy-to-learn and hard-to-use.
## Online Reading
This book is written in English and Chinese, you can pick up the language you are familiar with:
- English: [https://exercise.rs](https://exercise.rs)
- 简体中文: [https://zh.exercise.rs](https://zh.=[exercise.rs)
## Learning Rust
If you are a first-time Rust learner, here are some high quality learning resources :
- [The Book](https://doc.rust-lang.org/book/index.html) for English speakers
- [Rust语言圣经(The Course)](https://course.rs) for Chinese speakers, it covers nearly all the topics in Rust
## difference to rustlings
[Rustlings](https://github.com/rust-lang/rustlings) only contains small and easy exercises for junior rust devs. There is a big gap between learning Rust and using it in your projects.
Another limit for rustlings is that you have to download rustlings to local machine and compile it first before starting to learn.
## difference to rust by example
[Rust By Example](https://doc.rust-lang.org/stable/rust-by-example/) is an excellent online book for learning Rust`exercise.rs` has some small advantages in :
- more topics and exercisesspecially for the hard part of Ruste.g lifetime、smart pointers、threads 、async/.await etc
- difficulty from easy to hardit will minimize the gap between learning and using in projects
- up-to-date, e.g features which added in Rust 1.58 also have the corresponding exercises in `exercise.rs`
- Both `course.rs` and `exercise.rs` are designed according to the CS courses in collegeso quliaty is the most important factor