Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create rcore-learning-report.md #625

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions source/_posts/rcore-learning-report.md
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,
探索它在系统编程中的无限可能。