-
Notifications
You must be signed in to change notification settings - Fork 451
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
report
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: <rcore learning report> | ||
date: 2024-11-14 20:49:22 | ||
tags: | ||
--- | ||
# 探索 Rust:我的学习之路 | ||
|
||
作为一名大学生,我在最近的训练营中开始接触 Rust 编程语言。最初,Rust 的所有权模型让我感到很困惑, | ||
尤其是生命周期和借用的概念。之前习惯了 C++ 中的手动内存管理,刚开始面对 Rust 的静态检查时,确实有些不适应。 | ||
|
||
然而,随着学习的深入,我开始理解 Rust 的设计优势。Rust 通过严格的内存管理机制,在编译期避免了许多常见的内存错误 | ||
(比如悬空指针和双重释放),而且无需依赖垃圾回收器。这种安全性和高效性让我对 Rust 产生了浓厚的兴趣。 | ||
|
||
通过参与 Rustlings 和复刻一些小项目,我逐渐掌握了 Rust 的基本语法和使用方法。Rust 让我重新思考编程方式, | ||
尤其是在内存安全和并发处理上的精细化管理,培养了我更加细致和安全的编程习惯。 | ||
|
||
尽管学习曲线较陡,但 Rust 的性能和安全性使我觉得这一切都是值得的。我期待在将来的项目中,能够更深入地使用 Rust, | ||
探索它在系统编程中的无限可能。 |