From dd2ed75f0e9053cb52082ab8a13068d12c0fe37f Mon Sep 17 00:00:00 2001 From: 255doesnotexist <1293883574jcy@gmail.com> Date: Wed, 24 Apr 2024 11:03:02 +0800 Subject: [PATCH] =?UTF-8?q?+=20add=202024=E6=98=A5=E5=AD=A3=E5=BC=80?= =?UTF-8?q?=E6=BA=90=E6=93=8D=E4=BD=9C=E7=B3=BB=E7=BB=9F=E8=AE=AD=E7=BB=83?= =?UTF-8?q?=E8=90=A5=E7=AC=AC=E4=B8=80=E9=98=B6=E6=AE=B5=E6=80=BB=E7=BB=93?= =?UTF-8?q?=E6=8A=A5=E5=91=8A-255doesnotexist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...46\212\245\345\221\212-255doesnotexist.md" | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 "source/_posts/2024\346\230\245\345\255\243\345\274\200\346\272\220\346\223\215\344\275\234\347\263\273\347\273\237\350\256\255\347\273\203\350\220\245\347\254\254\344\270\200\351\230\266\346\256\265\346\200\273\347\273\223\346\212\245\345\221\212-255doesnotexist.md" diff --git "a/source/_posts/2024\346\230\245\345\255\243\345\274\200\346\272\220\346\223\215\344\275\234\347\263\273\347\273\237\350\256\255\347\273\203\350\220\245\347\254\254\344\270\200\351\230\266\346\256\265\346\200\273\347\273\223\346\212\245\345\221\212-255doesnotexist.md" "b/source/_posts/2024\346\230\245\345\255\243\345\274\200\346\272\220\346\223\215\344\275\234\347\263\273\347\273\237\350\256\255\347\273\203\350\220\245\347\254\254\344\270\200\351\230\266\346\256\265\346\200\273\347\273\223\346\212\245\345\221\212-255doesnotexist.md" new file mode 100644 index 00000000000..60292d655dd --- /dev/null +++ "b/source/_posts/2024\346\230\245\345\255\243\345\274\200\346\272\220\346\223\215\344\275\234\347\263\273\347\273\237\350\256\255\347\273\203\350\220\245\347\254\254\344\270\200\351\230\266\346\256\265\346\200\273\347\273\223\346\212\245\345\221\212-255doesnotexist.md" @@ -0,0 +1,23 @@ +--- +title: 2024春季开源操作系统训练营第一阶段总结报告-255doesnotexist +date: 2024-04-24 10:30:40 +tags: rcore +--- + +# 2024春季开源操作系统训练营第一阶段总结报告 + +一个月之前其实跟着 The Rust Programming Language 学习过 Rust,从同学那里听过 rustlings,但没有做过。这次有机会搓了一下,对理解的帮助还是挺大的。 + +## 实验 + +rustlings 的实验其实挺简单的。基本上跟着编译器和提示都能独立完成。它的 check 也不严格,数据点少、过编译即可。基本上完成质量全靠自觉 + +Rust 语言的约束,在最后 10 道算法题上还是体现得比较棘手的。一部分数据结构的实现需要套 Arc 甚至 unsafe。这也是所谓“必要的牺牲”吧。此外,生命周期的处理感觉还是不够优雅。有些奇怪的感觉。 + +除了这 10 题以外,其他部分基本都是语言基本语法、内容的介绍,也包括包管理器的使用,cargo test 的使用。相对来说都是比较基础的内容。只要跟着做就很简单。 + +# 总结 + +rustlings 是个很好的 Rust 学习项目,很适合计划做 rCore Lab 的同学入门 Rust 使用。是这样的。没错。 + +希望后期也能继续跟下去。