Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yangwenmai/learning-rust

Rust 学习之路 > Rust Programming Tutorial, include articles, interview, example, problems.
https://github.com/yangwenmai/learning-rust

articles example examples interview learning learning-rust problems rust rust-lang stargazer tikv tutorial

Last synced: 2 days ago
JSON representation

Rust 学习之路 > Rust Programming Tutorial, include articles, interview, example, problems.

Awesome Lists containing this project

README

        

# Rust 学习之路

[![Build Status](https://travis-ci.org/yangwenmai/learning-rust.svg?branch=master)](https://travis-ci.org/yangwenmai/learning-rust) [![GitHub stars](https://img.shields.io/github/stars/yangwenmai/learning-rust.svg?label=Stars)](https://github.com/yangwenmai/learning-rust) [![GitHub forks](https://img.shields.io/github/forks/yangwenmai/learning-rust.svg?label=Fork)](https://github.com/yangwenmai/learning-rust) [![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors) [![Documentation](https://godoc.org/github.com/yangwenmai/learning-rust?status.svg)](http://godoc.org/github.com/yangwenmai/learning-rust) [![Coverage Status](https://coveralls.io/repos/github/yangwenmai/learning-rust/badge.svg?branch=master)](https://coveralls.io/github/yangwenmai/learning-rust?branch=master) [![GitHub issues](https://img.shields.io/github/issues/yangwenmai/learning-rust.svg?label=Issue)](https://github.com/yangwenmai/learning-rust/issues) [![license](https://img.shields.io/github/license/yangwenmai/learning-rust.svg)](https://github.com/yangwenmai/learning-rust/blob/master/LICENSE)

## Stargazers over time

[![Stargazers over time](https://starcharts.herokuapp.com/yangwenmai/learning-rust.svg)](https://starcharts.herokuapp.com/yangwenmai/learning-rust)

[learning-rust Star History and Stats](https://seladb.github.io/StarTrack-js/?u=yangwenmai&r=learning-rust)

主要是对 Rust 阅读、学习,以及 Rust 相关问题讨论的总结。

>阅读计划:一起学习,一起总结,一起分享!

如果想加入 Rust 学习小组的,请你搜索微信号 `mai_yang` ,然后备注你的姓名,公司,工作岗位职责。

你也可以直接加入 [learning-rust Slack](https://join.slack.com/t/learning-rust/shared_invite/enQtNjA1Mjg5MzE3MjM0LTQ4NmEyYmIwZDc1NmMzZTI0ZDZhZDg3MTcwYjc3NDg2Y2Q5NzJkNmVjYzQ2MDEzMWQ3MjY2ZjZlZGYxOTlkODI)

## **Rust 学习过程中的问题和小贴士(Github issues)**

可以查阅 [Github yangwenmai/leanring-rust Issues](https://github.com/yangwenmai/learning-rust/issues)

- [Rust 和 Go 在图像处理上的性能之争](https://github.com/yangwenmai/learning-rust/issues/23) - 代码 --> [Rust Vs Go image decode](https://github.com/yangwenmai/learning-rust/tree/master/practices/image)

### Rust 比 Golang 还难吗?

- Golang 入手简单,写完后你都不知道对错,Rust 入手难,写完后 90% 都是对的。
- 只学过 Rust 的一点点语法,晦涩难懂。

### Rust 的优势在哪里?

- 编译器很屌。
- 没有 gc,适合高性能低延时的服务。

### Rust 的应用场景是哪方面?

- TiKV 等

### Rust 有人用吗?

1. [TiKV](https://github.com/tikv/tikv)
2. [Facebook:源代码控制工具](https://twitter.com/Sunjay03/status/1019782490800603136)
3. [Dropbox:在前端和后台都使用 Rust](https://air.mozilla.org/rust-meetup-may-2017/)
4. Firefox
5. Discord
6. Linkerd
7. [Google:作为 Fuchsia 项目的一部分](https://github.com/fuchsia-mirror?utf8=%E2%9C%93&q=&type=&language=rust)
8. [亚马逊:用 Rust 构建工具](https://github.com/amzn/askalono)
9. [Atlassian(Jira的厂商):在后台使用 Rust](https://github.com/rust-lang/rust-www/pull/922)
10. [微软:在新的 Azure 物联网框架中部分使用了Rust](https://twitter.com/maxgortman/status/1012011425353461760)

[Rust 合作伙伴](https://www.rust-lang.org/en-US/friends.html)

其他:[打败 Python、JS、C# 成最受欢迎编程语言,是时候掌握 Rust 了吗? - Jonathan Turner, Mozilla 工程师](https://mp.weixin.qq.com/s/713kCUprgIJxWwS_ObnFyg)

----

### Rust 学习资料

>[记录国内的Rust书籍与文章](https://github.com/RustStudy/RustBooksChina)

| Rust 入门|
|----|
| [官方文档](https://www.rust-lang.org/) |
| [《Rust By Example》中文](https://github.com/rust-lang-cn/rust-by-example-cn) |
| [Learning Rust](https://github.com/yangwenmai/learning-rust) |
| [From Go to Rust](http://technosophos.com/) |
| [使用 Rust 编写操作系统](https://github.com/luojia65/writing-an-os-in-rust) |
| [Writing an OS in Rust (Second Edition) Philipp Oppermann's blog](http://os.phil-opp.com) |
| [intermezzOS, (a little OS)](http://intermezzos.github.io) |
| [《Rust 宏小册》中文](https://daseinphaos.github.io/tlborm-chinese/book/README.html) |
| [通过大量的链表学习Rust](https://github.com/WeAthFoLD/rust-too-many-lists-zhcn) |
| [Learn Rust With Entirely Too Many Linked Lists](https://rust-unofficial.github.io/too-many-lists/) |

>[更多 Rust 中文资料](https://rustlang-cn.github.io/)

| Rust 书籍|
|-----|
| [Rust 编程语言-官方中文版](https://rustlang-cn.org/office/rust/) |
| [Rust 程序设计语言 中文版1️⃣](https://github.com/KaiserY/rust-book-chinese) |
| [Rust 程序设计语言 中文版2️⃣](https://www.gitbook.com/book/kaisery/trpl-zh-cn/details) |
| [《Rust 编程之道》(已出版 2019.01)](https://item.jd.com/12479415.html) |
| [《深入浅出 Rust》(已出版 2018.06)](https://book.douban.com/subject/30312231/) |
| [《RustPrimer》](https://github.com/rustcc/RustPrimer) |
| [《Too Many Lists》:一本学习 Rust 的好书](https://zhuanlan.zhihu.com/p/83776098) 这本书的写作风格非常的有特色, 非常适合初学者。 |
| [List of Rust Books](https://github.com/sger/RustBooks) Rust 英文图书 |
| [Rust explained using easy English](https://github.com/Dhghomon/easy_rust) |
| [Rust 性能优化](https://poly000.github.io/perf-book-zh/build-configuration_zh.html) |
| [zero2prod by Luca Palmieri](https://www.zero2prod.com/) |
| [Comprehensive Rust](https://google.github.io/comprehensive-rust/) This is a three day Rust course developed by the Android team. |

| Rust 面试|
|----|
| [Rust 面试](https://github.com/yangwenmai/learning-rust/interview) |

| Rust 其他|
|----|
| [Rust 阅读清单](https://github.com/yangwenmai/learning-rust/rust-reading-list) |
| [Rust 每日新闻](https://github.com/RustStudy/rust_daily_news) |
| [A bunch of links to blog posts, articles, videos, etc for learning Rust](https://github.com/ctjhoa/rust-learning) |

### 博客和专栏

| 地址 (排名不分先后) |
| ----- |
| [Rust 源码分析 @ 知乎专栏](https://zhuanlan.zhihu.com/practical-program) |
| [Rust编程 @ 知乎专栏](https://zhuanlan.zhihu.com/rust-lang) |
| [夜雨秋灯录【使用 Rust 写 Parser】 @ 知乎专栏](https://zhuanlan.zhihu.com/c_208092758) |

### Rust 视频

| 课程名称 | 简单介绍 |
|----|----|
| [Ashley Williams - intermezzOS: a teaching operating system](https://www.youtube.com/watch?v=WxbrhruIAa8) |
| [Felix Klock - Subtyping in Rust and Clarke's Third Law](https://www.youtube.com/watch?v=fI4RG_uq-WU) |
| [RustConf 2020 Summary](https://github.com/poteto/rustconf-2020) |

### Rust 播客

| 名称 | 简单介绍 |
|----|----|
| [Rusty Spike Podcast - News on all things Rust](https://rusty-spike.blubrry.net/) | Short, weekly episodes packed with information. |

### Rust 博客

| 名称 | 简单介绍 |
|----|----|
| [A learning journal](https://www.lpalmieri.com/) | Zero To Production 系列教程 |
| [24 days of Rust](https://siciarz.net/) |

----

## Rust 开发工具

### 1. Vim

[MacVim](https://github.com/macvim-dev/macvim) + [vim-rust](https://github.com/)

### 2. 文本编辑器 + 插件

[Visual Studio Code](https://code.visualstudio.com)、[Sublime Text 3](https://www.sublimetext.com/3)、[Atom](https://atom.io)

VSCode 插件列表(欢迎大家补充):

|插件名称|插件描述|
|----|----|
|Rust(rls)|Rust 语言插件|
|GitLens|非常方便的查看文件代码的 commit 信息(提交时间,提交人等)。|
|Code Runner|针对非常多的语言而快速方便执行的小插件。|
|filesize|在 VSCode 底部工具栏,非常方便的显示文件大小。|
|Terminal|命令行工具插件。|
|Vim|Vim 插件|
|VSCode Great Icons|VSCode 美化不同的文件。|
|WakaTime|统计项目代码的时间。|
|BetterComments|代码注释|

### 3. IDE

- IntelliJ idea + Rust Plugin

----
## Rust 社区

| Rust 语言社区(排名不分先后)|特色|
|----|----|
| https://rust.cc/ | Rust 每日新闻 |

## 微信公众号

| 微信公众号 (排名不分先后) | 公众号 ID | 二维码|
| ----- | ----- | ----- |

## Rust 夜读的日常技术讨论总结

- [Rust 的声明周期?Rust 应用场景是什么?有哪些公司在使用?如何学习?](./discuss/2018-08-11-lifetime-in-rust.md)

----

## Contributors

Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

| [
maiyang](https://maiyang.me)
[💻](https://github.com/yangwenmai/learning-rust/commits?author=yangwenmai "Code") [📝](#blog-yangwenmai "Blogposts") |
| :---: |

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!