Rust:资料搜集

应用

A curated list of Rust code and resources:https://github.com/rust-unofficial/awesome-rust

  1. 游戏领域
    1. 官方游戏开发库集合:https://arewegameyet.rs/
      1. 3D 植物生长:https://epcc.itch.io/garden
      2. 推箱子(C++ 与 Rust 版本):https://github.com/SuperV1234/sokoban-rs-cpp/blob/master/rs/sokoban/src/main.rs
    2. rs-pbrt 基于物理的渲染(Physically Based Rendering)描述了现代逼真的渲染系统背后的数学理论及其实际实现。PBR 书中的思想和软件向读者展示了如何设计和使用功能齐全的渲染系统,能够创建令人惊叹的图像。该书第 3 版的全部内容均可在线免费获得。
      1. Physically Based Rendering 链接:http://www.pbr-book.org/
      2. Github 链接:https://github.com/wahn/rs_pbrt
      3. 博客版本链接:https://www.rs-pbrt.org/blog/v0-9-0-release-notes/
    3. bevy: ``` 【张汉东】 Rust 中文社群线上学习室 | 「系列直播视频」使用 Bevy 实现节奏大师游戏 (完结)

本系列是我学习 Bevy 过程的直播,边分享边学习,感觉不错,大家可以一起参与。

学习参考的教程是:

英文: https://caballerocoll.com/blog/bevy-rhythm-game/

中文翻译: https://rustmagazine.github.io/rust_magazine_2021/chapter_3/Rhythm-game-in-Rust-using-bevy.html

学习心得:

  • 通过制作一个简单的游戏,对 Bevy 这个引擎有了初步的概念
  • 对 ECS 的概念,以及围绕 ECS 进行抽象来实现游戏的过程,建立了初步的模型
  • Bevy 的文档(特指 docs.rs 里,缺乏很多文档注释)写的很差劲,不过可以理解它是在告诉迭代器。
  • 了解到 Bevy ecs 系统 1.0 相当于是 fork hecs这个库,最近 Bevy 重写了 ecs 的 V2 版本,彻底脱离了 hecs 。
  • 了解到 Bevy 里 UI 的着色/ 动画,都可以基于OpenGL GLSL 语言来编写。如果glsl 脚本写错的话,编译没问题,但是运行会崩溃。

接下来的线上学习室飞书群直播计划:

  • 参考 hecs ,自己实现一个 ecs,通过这样的方式来学习 bevy ecs 的实现机制。
  • 根据 bevy ecs V2 的文档和代码,查看 V2 有哪些改进。目的就是为了彻底掌握 ECS 的实现机制。

B 站:

Part 1: https://www.bilibili.com/video/BV1LX4y1G7wr/ Part 2: https://www.bilibili.com/video/BV1tb4y1Q71a/ Part 3: 晚点上传

飞书视频回放:

Rust 中文社群 飞书群 邀请你加入:

对话群: https://applink.feishu.cn/TeLAcbDR 话题群:https://applink.feishu.cn/TeLD868w ```

  1. 区块链:

Substrate:http://subdev.cn/docs/learn_resource

  1. wasm:

    1. https://rustwasm.github.io/https://rustwasm.github.io/docs/wasm-pack/tutorials/index.html

      未整理

  2. 清华大学本科生编写的入门指南:R:Z 从零开始的RustOS编写体验指南

  3. Rust FFI 编程:https://mp.weixin.qq.com/mp/appmsgalbum?action=getalbum&album_id=1319566712852873217&__biz=MzI1MjAzNDI1MA==#wechat_redirect
  4. rust-module-system:http://www.sheshbabu.com/posts/rust-module-system/
  5. Rust 日报消息:https://rustcc.cn/article?id=69888ebc-8f0b-49b5-8dab-5c9722d00379
  6. Rust 在线运行:https://play.rust-lang.org/
  7. Elegant Library APIs in Rust:https://deterministic.space/elegant-apis-in-rust.html
  8. rust, documentation, features 建议:https://phaazon.net/blog/rust-features-documentation
  9. 24天 Rust 实战http://zsiciarz.github.io/24daysofrust/index.html
  10. Rust 课程资源:
    1. hackrio:https://hackr.io/tutorials/learn-rust?sort=upvotes&type_tags%5B%5D=1
    2. coursesity:https://coursesity.com/free-tutorials-learn/rust
    3. CIS 198: Rust Programming University of Pennsylvania Spring 2016:http://cis198-2016s.github.io/schedule/
  11. A tutorial on/in/about/with 3D graphics, Rust, Vulkan, ash:https://hoj-senna.github.io/ashen-aetna/
  12. 2020年学习 Rust 的新手建议:https://github.com/pretzelhammer/rust-blog/blob/master/posts/learning-rust-in-2020.md
  13. 【图灵系列】Rust in Action(17年开始预览版目前第15版,~~预计21年3月出版 ~~已出版):https://livebook.manning.com/book/rust-in-action/
    https://www.manning.com/books/rust-in-action
  14. Refactoring to Rust(目前章节正在更新中):https://www.manning.com/books/refactoring-to-rust
  15. rust-algorithms 用 Rust 写算法的教科书:https://github.com/EbTech/rust-algorithmshttps://github.com/TheAlgorithms/Rust
  16. Rust 语言之旅:https://tourofrust.com/00_zh-cn.html