<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>第4天上午 on 编程那些事儿</title><link>https://before80.github.io/prgms/Rust/comprehensiveRust/day4-morning/</link><description>Recent content in 第4天上午 on 编程那些事儿</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 11 Aug 2026 23:57:44 +0800</lastBuildDate><atom:link href="https://before80.github.io/prgms/Rust/comprehensiveRust/day4-morning/index.xml" rel="self" type="application/rss+xml"/><item><title>1 欢迎</title><link>https://before80.github.io/prgms/Rust/comprehensiveRust/day4-morning/01-welcome-day-4/</link><pubDate>Tue, 11 Aug 2026 11:30:00 +0800</pubDate><guid>https://before80.github.io/prgms/Rust/comprehensiveRust/day4-morning/01-welcome-day-4/</guid><description>&lt;blockquote&gt;
&lt;p&gt;译文 · 基于 &lt;a href="https://google.github.io/comprehensive-rust/"&gt;Comprehensive Rust&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;原文链接: &lt;a href="https://google.github.io/comprehensive-rust/welcome-day-4.html"&gt;https://google.github.io/comprehensive-rust/welcome-day-4.html&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1 id="1-欢迎"&gt;1 欢迎&lt;/h1&gt;
&lt;p&gt;我们已经掌握了核心语言及其独特的安全模型：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;基础与抽象：&lt;/strong&gt; trait、泛型（generics）以及标准库。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;所有权（ownership）：&lt;/strong&gt; 移动语义（move semantics）与 &lt;code&gt;Drop&lt;/code&gt; trait。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;内存管理：&lt;/strong&gt; 借用规则（borrowing，&lt;code&gt;&amp;amp;&lt;/code&gt; 与 &lt;code&gt;&amp;amp;mut&lt;/code&gt;）与生命周期（lifetime）。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;智能指针：&lt;/strong&gt; &lt;code&gt;Box&lt;/code&gt;、&lt;code&gt;Rc&lt;/code&gt; 与 &lt;code&gt;RefCell&lt;/code&gt;，用于构建复杂数据结构。&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;你现在已经理解 Rust 如何在编译期保证内存安全！今天我们将把这些知识应用到构建稳健、可扩展的大型应用上。&lt;/p&gt;</description></item></channel></rss>