1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33# Rust FE
> 🦀 Rust in front-end.
Rust 因其出色的表现,连续 7 年在 StackOverflow 调查中成为最受欢迎的语言([Stack Overflow Developer Survey 2022](https://survey.stackoverflow.co/2022/#section-most-loved-dreaded-and-wanted-programming-scripting-and-markup-languages))。优秀的特性自然也受到了前端的青睐,很多大神开始基于 Rust 重写前端生态。
个人理解,不准确的地方欢迎讨论:Rust 之所以优秀是因为它借鉴了大量编程语言的优秀特性,通过其自身的类型系统,生命周期,所有权等概念将其统一起来,成为其安全可靠,高性能的重要保证。在编译阶段会对代码进行检查,抛出友好的错误,并给出大量指导性修改建议(很多时候都是编译器在教我写代码),这在别的语言似乎很难看到。
我是一名半路出家的前端程序员,无计算机专业背景。希望通过 Rust 学习,来了解更多计算机底层知识。此仓库用来记录所思所学(本人能力有限,并不能保证完全正确,但是尽量让自己客观地对知识进行梳理描述,所以文章中会包含大量的引用)。如果这个教程对您有所启发,可以对我进行小额赞助,或转发、Star 此项目都是对我巨大的鼓励与支持,感恩!
## 发布平台
> 首发于 rust-fe 仓库的 Discussions,同步更新公众号,知乎等平台。关注`浮之静`公众号,发送 "rust 在前端" 进技术交流群。
- [知乎专栏](https://www.zhihu.com/column/c_1538173764251971584)
- [公众号](https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzIzNjE2NTI3NQ==&action=getalbum&album_id=2640902652406530050)
## 开始阅读
- [Rust 在前端](https://github.com/lencx/rust-fe/discussions/3)
- [环境配置](https://github.com/lencx/rust-fe/discussions/5)
- [项目初始化](https://github.com/lencx/rust-fe/discussions/6)
- [Debug 方式概览](https://github.com/lencx/rust-fe/discussions/7)
- *待更新...*
## 赞助
<img width="180" alt="qrcode" src="https://raw.githubusercontent.com/lencx/sponsor/main/sponsor.png" />
## 二维码
<img width="180" alt="qrcode" src="https://user-images.githubusercontent.com/16164244/202938493-7bd2069d-4c21-48ee-b3c3-5c908ad54a23.png" /> <img width="180" alt="qrcode" src="https://user-images.githubusercontent.com/16164244/202938348-222c8012-94be-4dd0-a763-0506de75e51f.JPG" />