[Industry News] 中文编写rust
Tofloor
poster avatar
六七
deepin
2026-09-28 20:48
Author

Rust 很强,但英文报错和陌生术语,常常让初学者还没写出第一行代码就被劝退。i18n-rust 项目想改变这一点。

它的核心很直接:用母语编写 Rust。开发者可以用中文关键字写真正的 Rust 程序,由 rzc 实时翻译为标准 Rust,再交给官方工具链编译运行。编译、运行、依赖和生态都是真实的,不是玩具。

项目还提供配套中文教程,按章节一步一步学习即可,不需要复杂记忆。更友好的是,rzc check 会把 rustc 的报错翻译成中文诊断信息,并给出“下一步该做什么”的教学引导;中文告警信息、中文诊断信息、中文纠错信息等也全部中文化。有 VS Code 扩展插件可以用在国内类VS code IDE中使用。

如果学习者以后想回到主流 Rust 生态,rzc eject 可以一键导出标准 Rust 代码,没有锁定。

一句话:i18n-rust 的核心,是用母语编写 Rust。它适合想学 Rust、又被英语门槛挡住的人,也适合想用中文重新理解 Rust 的开发者。

这个项目值得推荐给身边想学 Rust 又怕英文报错的人。

配套中文教程:https://my.feishu.cn/wiki/MPGFwrEKpi9wEbkobZ2c012UnXc

国内:https://gitcode.com/tan80/i18n-rust
github: https://github.com/liuqiTan80/i18n-rust

Reply Favorite View the author
All Replies
avatar
jialebihaidao
deepin
2026-09-28 22:08
#1

👍 👍 👍

👍 👍 👍

👍 👍 👍

Reply View the author
avatar
charm
deepin
2026-09-28 23:14
#2

逆天

Reply View the author
avatar
wlly-lzh
deepin
2026-09-29 08:30
#3

恐怕效果有限

Reply View the author
avatar
Sunny Zheng
deepin
2026-09-29 17:22
#4

厉害👍

Reply View the author
avatar
六七
deepin
2026-09-29 23:07
#5
wlly-lzh:

恐怕效果有限

只有那天你有空了 试试才知道

Reply View the author
avatar
白行简
deepin
2026-09-30 14:54
#6

就关键字的这些单词都不会,还是先别学编程了,学下字母比较好

Reply View the author
avatar
comicfans
deepin
2026-09-30 17:41
#7

先让我的agent学会它😂

Reply View the author
avatar
六七
deepin
2026-09-30 18:36
#8
comicfans:

先让我的agent学会它😂

我以及用这个开发了两个小工具了😁

Reply View the author