mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 04:29:41 +00:00
removed broken link for code-editor hecto;2C
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
# Small projects with Elegant code base
|
||||
|
||||
Following questions come up weekly in online Rust discussions:
|
||||
|
||||
- I just finished reading The Book, what should I do next ?
|
||||
@ -15,27 +16,31 @@ This is precisely the goal of this book, so, collecting relative resourses and r
|
||||
Answers for above questions usually came with [`ripgrep`](https://github.com/BurntSushi/ripgrep), though I don't think it is a **small** project, but yes, go for it if you are not afraid to delve deep a bit.
|
||||
|
||||
### 2. Building a text editor
|
||||
|
||||
Tutorial [`https://www.flenker.blog/hecto/`](https://www.flenker.blog/hecto/) will lead you to build a text editor from scratch.
|
||||
|
||||
### 3. Ncspot
|
||||
|
||||
[Ncspot](https://github.com/hrkfdn/ncspot), a terminal Spotify client. Small, simple, well organized and async, it's good for learning.
|
||||
|
||||
### 4. Command Line Rust
|
||||
|
||||
[This project](https://github.com/kyclark/command-line-rust) is for the book `Command-Line Rust(O'Reily)`, it will show you how to write small CLIs (clones of `head`, `cat`, `ls`).
|
||||
|
||||
### 5. pngme book
|
||||
|
||||
[This book](https://picklenerd.github.io/pngme_book/) will guide you to make a command line program that lets you hide secret messages in PNG files. The primary goal here is to get you writing code. The secondary goal is to get you reading documentation.
|
||||
|
||||
### 6. Writing an OS in Rust
|
||||
|
||||
[This blog series](https://os.phil-opp.com) creates a small operating system in the Rust programming language. Each post is a small tutorial and includes all needed code, so you can follow along if you like. The source code is also available in the corresponding [Github repository](https://github.com/phil-opp/blog_os).
|
||||
|
||||
|
||||
### 7. CodeCrafters.io: Build your own Git, Docker, SQLite, or Redis
|
||||
|
||||
On [CodeCrafters](https://codecrafters.io/for/rust), you can recreate your favorite developer tools from scratch. It's a hands-on, minimally-guided approach to master Rust, while appreciating the internals and documentation of popular technology that we use every day.
|
||||
|
||||
### 8. mini-redis
|
||||
|
||||
[mini-redis](https://github.com/tokio-rs/mini-redis) is an incomplete Redis client and server implementation using tokio, it has decent code base and detail explanations, very suitable for learning Rust and asynchronous programming.
|
||||
|
||||
### 9. Writing Interpreters in Rust
|
||||
@ -44,5 +49,4 @@ On [CodeCrafters](https://codecrafters.io/for/rust), you can recreate your favor
|
||||
|
||||
---
|
||||
|
||||
|
||||
**To be continued...**
|
||||
|
@ -1,4 +1,5 @@
|
||||
# 值得学习的小型项目
|
||||
|
||||
在国内外的各大 Rust 论坛上,以下问题非常常见:
|
||||
|
||||
- 作为 Rust 新手,有哪些项目值得推荐学习?
|
||||
@ -15,7 +16,7 @@
|
||||
|
||||
### 2. 教程:构建一个文本编辑器
|
||||
|
||||
该教程 [`https://www.philippflenker.com/hecto/`](https://www.philippflenker.com/hecto/) 将带领我们从零开始构建一个文本编辑器.
|
||||
该教程 [`https://www.flenker.blog/hecto/`](https://www.flenker.blog/hecto/) 将带领我们从零开始构建一个文本编辑器.
|
||||
|
||||
### 3. Ncspot
|
||||
|
||||
@ -40,6 +41,7 @@
|
||||
在 [CodeCrafters](https://codecrafters.io/for/rust) 上,你可以从头开始重新创建您最喜欢的开发人员工具。这是一种掌握 Rust 的实践、最低限度指导的方法,同时欣赏我们每天使用的流行技术的内部结构和文档。
|
||||
|
||||
### 8. mini-redis
|
||||
|
||||
[mini-redis](https://github.com/tokio-rs/mini-redis) 是一个不完整的 Redis 客户端、服务器实现,由 tokio 官方出品,代码质量非常高,而且有详细的注释,非常适合学习 Rust 和异步编程。
|
||||
|
||||
### 9. 使用 Rust 写一个解析器
|
||||
|
Reference in New Issue
Block a user