From 1eb99c7b44e2fee94821307c99d974694ec349dc Mon Sep 17 00:00:00 2001 From: sunface Date: Mon, 24 Jan 2022 10:48:27 +0800 Subject: [PATCH] update readme.md --- README.md | 10 ++++------ book/contents/SUMMARY.md | 1 + book/contents/performance/enum.md | 3 +++ book/writing-material/books.md | 14 ++++++-------- 4 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 book/contents/performance/enum.md diff --git a/README.md b/README.md index d1034eae..51b8a7dd 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,13 @@ # Rust语言圣经 (The Course) - 在线阅读 - - 官方: https://course.rs - - 国内镜像: https://book.rust.team - - 知乎: [支持章节内目录跳转,很好用!](https://www.zhihu.com/column/c_1452781034895446017) - 最近修订: 新增章节 [Tokio使用指南 - 初印象](https://zhuanlan.zhihu.com/p/461044853) -- Rust 版本: Rust edition 2021 -- QQ 交流群:1009730433 +- Rust版本: Rust edition 2021 +- QQ交流群:1009730433 ### 教程简介 @@ -28,10 +25,11 @@ ### 借鉴的书籍 -本书的部分内容借鉴了以下书籍,特此感谢: +站在巨人的肩膀上,能帮我们看的更远,特此感谢以下巨人: - [Rust Book](https://doc.rust-lang.org/book) - [Rust nomicon](https://doc.rust-lang.org/nomicon/dot-operator.html) +- [Async Rust](https://rust-lang.github.io/async-book/01_getting_started/01_chapter.html) - 详细清单参见 [这里](./book/writing-material/books.md) 因为它们绝大部分是支持 APACHE + MIT 双协议的,因此我们选择了遵循其中的 MIT 协议,并在这里统一对借鉴的书籍进行说明。 diff --git a/book/contents/SUMMARY.md b/book/contents/SUMMARY.md index a00c9c05..2d842b34 100644 --- a/book/contents/SUMMARY.md +++ b/book/contents/SUMMARY.md @@ -211,6 +211,7 @@ - [堆和栈 todo](performance/heap-stack.md) - [内存allocator todo](performance/allocator.md) - [常用性能测试工具 todo](performance/tools.md) + - [Enum内存优化 todo](performance/enum.md) - [编译器 todo](compiler/intro.md) - [常见属性标记 todo](compiler/attributes.md) diff --git a/book/contents/performance/enum.md b/book/contents/performance/enum.md new file mode 100644 index 00000000..13a580c2 --- /dev/null +++ b/book/contents/performance/enum.md @@ -0,0 +1,3 @@ +# Enum内存优化 todo + +https://blog.zhuangty.com/rust-enum-layout/ \ No newline at end of file diff --git a/book/writing-material/books.md b/book/writing-material/books.md index 451d8d84..5ba79cc0 100644 --- a/book/writing-material/books.md +++ b/book/writing-material/books.md @@ -15,19 +15,17 @@ 8. [Rust nomicon](https://doc.rust-lang.org/nomicon/dot-operator.html) -9. [Rust Primer](https://rustcc.gitbooks.io/rustprimer/content/1st-glance/) +9. [Rust Forge](https://forge.rust-lang.org/infra/other-installation-methods.html#other-rust-installation-methods) -10. [Rust Forge](https://forge.rust-lang.org/infra/other-installation-methods.html#other-rust-installation-methods) +10. [rustc开发者之书](https://rustc-dev-guide.rust-lang.org/method-lookup.html) -11. [rustc开发者之书](https://rustc-dev-guide.rust-lang.org/method-lookup.html) +11. [Rust Style](https://doc.rust-lang.org/1.6.0/style/README.html) -12. [Rust Style](https://doc.rust-lang.org/1.6.0/style/README.html) +12. [Learning Rust](https://learning-rust.github.io/docs/a1.why_rust.html) -13. [Learning Rust](https://learning-rust.github.io/docs/a1.why_rust.html) +13. [Rust doc](https://doc.rust-lang.org/rustdoc/the-doc-attribute.html) -14. [Rust doc](https://doc.rust-lang.org/rustdoc/the-doc-attribute.html) - -15. [Unstable Rust](https://doc.rust-lang.org/stable/unstable-book/) +14. [Unstable Rust](https://doc.rust-lang.org/stable/unstable-book/) ## 可参考的教程 1. https://github.com/ferrous-systems/teaching-material#core-topics \ No newline at end of file