GithubHelp home page GithubHelp logo

rust-luke's Introduction

初学 Rust

背景: A backend developer 记录他 Rust 学习的历程,开始学习时间为 2023.12.30,利用互联网上的免费资源,抽出非工作时间进行学习。

学习策略

Discover the map: 参考 Rust Developer Step by step guide to becoming a Rust developer in 2023 网站上列举的学习路线规划,借鉴 10x 程序大佬的工作思维和方法论。

Build in pubic: 使用 git 提交与备份学习进度、主动失误。

Just in time: 及时学习、挑选适当难度的题目解决,使用代码量作为北极星指标。

Follow your curiosity: 跟随好奇心、多看多动手、项目实战驱动学习。

Periodic review: 逐步整理出有参考价值、值得回顾的学习路线。

学习资源

Rust 中文文档

Rust 官方文档中文教程

Rust 教程

Rust 语言圣经 20.2k star

Rust By Practice 9.6k star

Rusty Book 2.3k star

1、Rust 程序设计语言

  • Rust 启动
  • 安装 Rust 工具链 Rustup
  • 安装 Visual Studio Code
  • 安装如下拓展:rust、rust-Analyzer、Rust Extension Pack、Rust Syntax、Rust Extension Pack、CodeLLDB

1.1、初学 Rust 语法和语言特性

  • 通用编程概念
  • 所有权机制
  • 结构体
  • 枚举和模式匹配
  • 包、Crate
  • 常见集合
  • 错误处理
  • 泛型、trait、生命周期

1.2、Rust 进阶实战

1.2.1、一个简单的全栈应用

包含技术栈如下:

  • Next.js 14 (TypeScript)
  • Tailwind CSS
  • Rust (no framework, Serde for serialization)
  • PostgreSQL
  • Docker
  • Docker Compose

文章地址:Build a full stack app with Rust, Next.js and Docker - DEV Community

项目地址:GitHub - FrancescoXX/fullstack-rust-nextjs

2、通过例子学 Rust

  • 实现一个多线程web服务器
  • 实现一个简单redis
  • 实现一个操作系统

rust-luke's People

Contributors

qluke avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.