<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>圆梦公社 - Rust语言论坛</title>
    <link>https://bbs.ym.gs/f-129-1</link>
    <description>Latest 20 threads of Rust语言论坛</description>
    <copyright>Copyright(C) 圆梦公社</copyright>
    <generator>Discuz! Board by Discuz! Team</generator>
    <lastBuildDate>Tue, 09 Jun 2026 21:40:15 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://bbs.ym.gs/static/image/common/logo_88_31.gif</url>
      <title>圆梦公社</title>
      <link>https://bbs.ym.gs/</link>
    </image>
    <item>
      <title>为什么说Rust是对自闭症谱系人士友好的编程语言？</title>
      <link>https://bbs.ym.gs/t-51745-1-1.html</link>
      <description><![CDATA[在程序员圈子里，Rust常常以学习路线陡峭而闻名。就我自己的个人理解来说，之所以说它“学习路线陡峭”，很大程度上都来源于以下三点：

Rust有很多语法糖，而且官方把这些语法糖给设置成了默认的最佳实现的语法，还写进了教程。最经典的就是for循环语句。Rust的for循环 ...]]></description>
      <category>Rust语言论坛</category>
      <author>騎驢去看海</author>
      <pubDate>Sun, 05 Apr 2026 13:59:00 +0000</pubDate>
    </item>
    <item>
      <title>Rust简要汇总(持续更新)</title>
      <link>https://bbs.ym.gs/t-51744-1-1.html</link>
      <description><![CDATA[Rust工具： https://www.rust-lang.org/tools/install
1 cargo
cargo new my_test

开始于单元包的根节点：在编译一个单元包时，编译器会从单元包的根节点文件开始编译（通常是库单元包中的src/lib.rs，或二进制单元包中的src/main.rs）​。
2 thread
在 Rust 中，handl ...]]></description>
      <category>Rust语言论坛</category>
      <author>回不去的魔兽男孩</author>
      <pubDate>Wed, 04 Feb 2026 11:53:00 +0000</pubDate>
    </item>
    <item>
      <title>再见 Postman！一款开源免费的全能 API 客户端工具！</title>
      <link>https://bbs.ym.gs/t-51743-1-1.html</link>
      <description><![CDATA[大家好，我是 Java陈序员。
在日常开发工作中，常常需要进行 API 接口调试，通常是借助 Postman 进行调试或者接口管理。
但是基于 Electron 框架开发的 Postman，启动速度较慢，且运行时会占用较多内存和 CPU 资源。而且依赖云同步功能，用户的接口集合、密钥、Token 等 ...]]></description>
      <category>Rust语言论坛</category>
      <author>在堕落中沦陷</author>
      <pubDate>Fri, 14 Nov 2025 01:23:00 +0000</pubDate>
    </item>
    <item>
      <title>Rust中使用RocksDB索引进行高效范围查询的实践指南</title>
      <link>https://bbs.ym.gs/t-51742-1-1.html</link>
      <description><![CDATA[在当今海量数据处理场景下，高效的范围查询能力成为许多系统的关键需求。RocksDB作为一款高性能的嵌入式键值存储引擎，其独特的LSM树结构和索引设计为范围查询提供了底层支持。本文将深入探讨如何在Rust中利用RocksDB的特性来实现高效范围查询，从键的设计原则到迭代器 ...]]></description>
      <category>Rust语言论坛</category>
      <author>童卓何烨</author>
      <pubDate>Wed, 03 Sep 2025 14:47:00 +0000</pubDate>
    </item>
    <item>
      <title>Dora-rs：下一代机器人开发框架</title>
      <link>https://bbs.ym.gs/t-51726-1-1.html</link>
      <description><![CDATA[在&amp;nbsp;AI&amp;nbsp;与机器人技术深度融合的今天，传统机器人框架的性能瓶颈和开发效率问题日益凸显。dora-rs（Dataflow Oriented Robotics Architecture） 应运而生，成为一款基于&amp;nbsp;Rust&amp;nbsp;语言的高性能、现代化机器人框架。其核心目标是通过数据流驱动的设计范式 ...]]></description>
      <category>Rust语言论坛</category>
      <author>狼头</author>
      <pubDate>Wed, 09 Jul 2025 01:10:00 +0000</pubDate>
    </item>
    <item>
      <title>rust进阶.并发.Tokio.1.Tokio简介</title>
      <link>https://bbs.ym.gs/t-51727-1-1.html</link>
      <description><![CDATA[学习要，工作也不能拉下，所以这一段时间关于rust的博文少了些。
rust要学习的内容还很多，但我觉得应该优先打好基础，这其中比较关注的是并发。
提到rust的并发，先回忆在书本&amp;lt;&amp;lt;rust编程语言&amp;gt;&amp;gt;有许多的内容：
1.并发和并行
2.通过信道(channel)共享进程间数据
关键库和 ...]]></description>
      <category>Rust语言论坛</category>
      <author>我就看一会</author>
      <pubDate>Thu, 12 Jun 2025 03:34:00 +0000</pubDate>
    </item>
    <item>
      <title>【实战】Rust与前端协同开发：基于Tauri的跨平台AI阅读器实践</title>
      <link>https://bbs.ym.gs/t-51741-1-1.html</link>
      <description><![CDATA[一、背景与目标：为什么做一个“非典型”的RSS阅读器？
在信息爆炸的时代，RSS依然是高效获取结构化内容的重要方式，但市面上主流阅读器要么功能冗余（如集成社交属性），要么技术栈陈旧（依赖Electron导致内存占用高、性能差）。我们希望打造一款简约轻量、高效率、高 ...]]></description>
      <category>Rust语言论坛</category>
      <author>叶志龙</author>
      <pubDate>Mon, 26 May 2025 01:18:00 +0000</pubDate>
    </item>
    <item>
      <title>rust进阶-基础.2.Option类型</title>
      <link>https://bbs.ym.gs/t-51740-1-1.html</link>
      <description><![CDATA[Option类型是Rust中非常重要的一个类型，和Result也类似。
本文主要根据文档:枚举类型Option编写
主要阐述以下内容：
1.Option和Result比较
2.Option的主要方法
3.示例
&amp;nbsp;
1.Option和Result比较
以下内容来自于文心一言



特性
Option
Result




目的
表示一个值 ...]]></description>
      <category>Rust语言论坛</category>
      <author>眼看着你们堕落</author>
      <pubDate>Tue, 20 May 2025 01:18:00 +0000</pubDate>
    </item>
    <item>
      <title>【实战】深入浅出 Rust 并发：RwLock 与 Mutex 在 Tauri 项目中的实践</title>
      <link>https://bbs.ym.gs/t-51739-1-1.html</link>
      <description><![CDATA[引言
你是否遇到过 Rust 并发场景下的资源竞争、性能瓶颈？
当多个线程同时抓取网页导致 IP 被封、多线程读写本地数据引发一致性问题时，如何优雅地实现线程安全？
本文结合开源项目 Saga Reader 的真实开发场景，深度解析 Arc/Mutex/RwLock 的实战技巧，带你从 “踩坑 ...]]></description>
      <category>Rust语言论坛</category>
      <author>琪琪爱走路</author>
      <pubDate>Mon, 19 May 2025 02:43:00 +0000</pubDate>
    </item>
    <item>
      <title>rust进阶-基础.1.匿名函数和FnXXX特质</title>
      <link>https://bbs.ym.gs/t-51738-1-1.html</link>
      <description><![CDATA[在rust中，匿名函数（或者说闭包）大量存在，所以有必要再次讨论匿名函数的一些问题。
其中比较关键的是和FnXXX特质的关系，以及和被捕获变量的关系。
本文的目的在于确认几个要点：
&amp;nbsp;
一、FnOnce,FnMut,Fn简单比较
比较汇总表



分类
执行次数
是否可以修改捕获 ...]]></description>
      <category>Rust语言论坛</category>
      <author>長樂未央</author>
      <pubDate>Sun, 11 May 2025 03:24:00 +0000</pubDate>
    </item>
    <item>
      <title>FunProxy - 使用 Rust 构建跨平台全链路测试抓包代理工具</title>
      <link>https://bbs.ym.gs/t-51737-1-1.html</link>
      <description><![CDATA[作者：vivo 互联网大前端团队- Song Jiachao
&amp;nbsp;
在软件开发过程中，软件测试对于保障软件质量和用户满意度起着关键作用。为最大程度上提升软件品质，我们积极开展全链路测试实践，打造了用Rust语言开发的自研一站式抓包代理工具FunProxy，基于其跨平台、高性能、易 ...]]></description>
      <category>Rust语言论坛</category>
      <author>佛弟子</author>
      <pubDate>Thu, 08 May 2025 03:16:00 +0000</pubDate>
    </item>
    <item>
      <title>rust学习二十.14、RUST宏</title>
      <link>https://bbs.ym.gs/t-51736-1-1.html</link>
      <description><![CDATA[毫无疑问，宏是rust中极其重要的存在，只要我们看看一些标准库的代码。本文阐述rust宏相关的若干问题
&amp;nbsp;一、宏的定义和作用
先介绍下宏的起源和历史，以便读者更能体会。
以下内容来自文心一言生成：
词源与早期含义

希腊-拉丁词根

\&quot;macro\&quot;源于希腊语前缀μακρ ...]]></description>
      <category>Rust语言论坛</category>
      <author>草原千里</author>
      <pubDate>Tue, 15 Apr 2025 11:33:00 +0000</pubDate>
    </item>
    <item>
      <title>rust学习二十.13、RUST的函数指针fn和匿名函数</title>
      <link>https://bbs.ym.gs/t-51735-1-1.html</link>
      <description><![CDATA[函数指针是一个好东西。
一、简述
函数指针就是执行一段函数代码的指针。
根据官方的说法，函数指针实现了FnOnce,FnMut,Fn特质。
由于函数指针是一种数据类型，所以rustc允许它作为函数/方法的参数，这样就给程序设计添加了不少的灵活性.
我估摸着，rust设计者就是为了 ...]]></description>
      <category>Rust语言论坛</category>
      <author>洞箫</author>
      <pubDate>Thu, 10 Apr 2025 11:09:00 +0000</pubDate>
    </item>
    <item>
      <title>rust学习二十.12、RUST动态大小类型DST以及Sized特质</title>
      <link>https://bbs.ym.gs/t-51734-1-1.html</link>
      <description><![CDATA[DST(dynamic size type)-中译“动态大小类型\&quot;。本文简要讨论动态大小类型的一些问题。
一、前言
rust作为一门静态类型语言，和大部分其它静态类型语言(C,C++,C#,JAVA)一样，希望在编译的时候知道每个实例/类型的大小。
作为静态类型语言，优点是毋庸置疑的的：
1.类型错 ...]]></description>
      <category>Rust语言论坛</category>
      <author>夷老永宜</author>
      <pubDate>Tue, 08 Apr 2025 11:20:00 +0000</pubDate>
    </item>
    <item>
      <title>rust学习二十.10、RUST高级类型之新类型模式和类型别名</title>
      <link>https://bbs.ym.gs/t-51733-1-1.html</link>
      <description><![CDATA[这两个内容都比较容易理解。
一、新类型(newtype)模式
注意，这里说的是一种编程模式，不是说有一个叫newtype的类型。
这种编程模式的含义：为某个类型作个封装，构建一个新的类型，以便绕过某些束缚，从而达成特定目的。
目的如下：
a.用于抽象掉一些类型的实现细节
b. ...]]></description>
      <category>Rust语言论坛</category>
      <author>黑兔子</author>
      <pubDate>Thu, 03 Apr 2025 11:31:00 +0000</pubDate>
    </item>
    <item>
      <title>rust学习二十.9、RUST绕过孤儿规则实现特质和包装器缺点</title>
      <link>https://bbs.ym.gs/t-51732-1-1.html</link>
      <description><![CDATA[回忆下孤儿规则：
1.只有当一个trait或类型在当前的crate中定义时，才能为外部类型实现该trait。 没有限定是特质还是类型
反过来，如果特质和类型都是外部，那么不能在当前单元包实现
2.例外情况-std中特质是例外。大体验证了凡事都有例外
孤儿规则的目的：避免编译器无 ...]]></description>
      <category>Rust语言论坛</category>
      <author>润丰农场</author>
      <pubDate>Thu, 03 Apr 2025 09:03:00 +0000</pubDate>
    </item>
    <item>
      <title>rust之map和filter初探。</title>
      <link>https://bbs.ym.gs/t-51731-1-1.html</link>
      <description><![CDATA[点击查看代码
fn main() {
    let v = vec![1, 2, 3, 4];
    let a: Vec&amp;lt;_&amp;gt; = v.iter().filter(|x: &amp;amp;&amp;amp;i32| *x % 2 == 0).map(|x: &amp;amp;i32| x * 2).collect();
    let b: Vec&amp;lt;_&amp;gt; = v.iter().map(|x: &amp;amp;i32| x * 2).filter(|x: &amp;amp;i32| x % 2 == 0).col]]></description>
      <category>Rust语言论坛</category>
      <author>振超</author>
      <pubDate>Tue, 01 Apr 2025 16:00:00 +0000</pubDate>
    </item>
    <item>
      <title>rust学习二十.8、RUST特质的限定，实为对类型的限定</title>
      <link>https://bbs.ym.gs/t-51730-1-1.html</link>
      <description><![CDATA[有的时候，可能希望使用的特质已经实现了其它特质（看后面可以知道，实际是要求相关类型实现了其它特质)。
RUST支持为特质(trait)指定限定的特质。
例如我们定义特质A，之后定义了类型T，这个时候还希望T已经实现了特质TC。
在rust中就是这个语法:
trait tx:t1
trait tx ...]]></description>
      <category>Rust语言论坛</category>
      <author>皓日当空</author>
      <pubDate>Mon, 31 Mar 2025 09:58:00 +0000</pubDate>
    </item>
    <item>
      <title>rust学习二十.7、RUST完全限定名以及静态方法</title>
      <link>https://bbs.ym.gs/t-51729-1-1.html</link>
      <description><![CDATA[rust中看不到java等一些OOP语言的中用于修饰方法的static之类的关键字眼。
注：rust有static关键字，目前是用于修饰生命周期的或者是变量的
例如：

let leaked_str: &amp;amp;\'static str = Box::leak(tmp.into_boxed_str());


static mut SIGN: u32 = 0;
&amp;nbsp;
先给出完全限 ...]]></description>
      <category>Rust语言论坛</category>
      <author>湉湉幂幂</author>
      <pubDate>Mon, 31 Mar 2025 08:55:00 +0000</pubDate>
    </item>
    <item>
      <title>rust学习二十.6、RUST通用类型参数默认类型和运算符重载</title>
      <link>https://bbs.ym.gs/t-51728-1-1.html</link>
      <description><![CDATA[一、前言
为通用类型赋予一个默认的类型，大部分的语言是没有这个特性的，但是也有例外的，例如TypeScript（可能还有其它）。
例如TypeScript可以这样使用：
class MyClass&amp;lt;T = number&amp;gt; {
    value: T;
    constructor(value: T) {
        this.value = value;
    } ...]]></description>
      <category>Rust语言论坛</category>
      <author>鸿蒙剑气</author>
      <pubDate>Fri, 21 Mar 2025 09:18:00 +0000</pubDate>
    </item>
  </channel>
</rss>