RR23W13.md

原文约1600字,阅读约需4分钟。发表于:

# Rust概览 13/2023 原文: [Rust recap for week 13/2023](https://discu.eu/weekly/rust/2023/13/) - 230404 [Zoom.Quiet](http://zoomquiet.io/)(大妈) 用时 17 分钟 完成格式转抄 - 230404 [Zoom.Quiet](http://zoomquiet.io/)(大妈) 用时 42 分钟 完成快译 ----------------------------------------- ## 文章/嗯哼... > Articles - [从 Rust 迁移到 C++](https://raphlinus.github.io/rust/2023/04/01/rust-to-cpp.html) - [581 评论 in 4 讨论s](https://discu.eu/q/https://raphlinus.github.io/rust/2023/04/01/rust-to-cpp.html) (`是也乎:` ![4.1](https://ipic.zoomquiet.top/2023-04-03-zshot%202023-04-03%2012.46.24.jpg) 注意发布日期就知道了...几乎都戳到了 C++ 的肺尖儿... ) - [Zig 和 Rust](https://matklad.github.io/2023/03/26/zig-and-rust.html) - [486 评论 in 5 讨论s](https://discu.eu/q/https://matklad.github.io/2023/03/26/zig-and-rust.html) - [Ma用不到 100 行 Rust 使 Python 快 100 倍](https://ohadravid.github.io/posts/2023-03-rusty-python/) - [334 评论 in 3 讨论s](https://discu.eu/q/https://ohadravid.github.io/posts/2023-03-rusty-python/) (`是也乎:` 用火焰图分析出瓶颈, 进行针对性优化. ) - [Blog 文章: Rust 是一种可扩展的语言](https://matklad.github.io/2023/03/28/rust-is-a-scalable-language.html) - [162 评论 in 3 讨论s](https://discu.eu/q/https://matklad.github.io/2023/03/28/rust-is-a-scalable-language.html) (`是也乎:` 大佬们果断是相互认识的, 这篇文章直接呼应了 [Rust’s Golden Rule](https://steveklabnik.com/writing/rusts-golden-rule) ) - [经过多年的工作和讨论,`once_cell` 已合并到 `std` 中并稳定下来](https://github.com/rust-lang/rust/pull/105587) - [118 评论 in 1 讨论](https://discu.eu/q/https://github.com/rust-lang/rust/pull/105587) (`是也乎:` 想进入内建模块, 太难,可进入了, 就是立了言 ) - [Rust 的黄金法则](https://steveklabnik.com/writing/rusts-golden-rule) - [115 评论 in 2 讨论s](https://discu.eu/q/https://steveklabnik.com/writing/rusts-golden-rule) (`是也乎:` 黄金法则... ) - [Blog 文章: UB 可能是新语言的错误术语](https://matklad.github.io/2023/04/02/ub-might-be-the-wrong-term-for-newer-languages.html) - [89 评论 in 2 讨论s](https://discu.eu/q/https://matklad.github.io/2023/04/02/ub-might-be-the-wrong-term-for-newer-languages.html) - [处理整数溢出的新方法,实际上遵循 Liskov 替换原则 (2021)](https://blog.polybdenum.com/2021/10/03/implicit-overflow-considered-harmful-and-how-to-fix-it.html) - [75 评论 in 4 讨论s](https://discu.eu/q/https://blog.polybdenum.com/2021/10/03/implicit-overflow-considered-harmful-and-how-to-fix-it.html) - [Twitter 开源 Navi: Rust 中的高性能机器学习服务](https://github.com/twitter/the-algorithm/tree/main/navi/navi) - [74 评论 in 1 讨论](https://discu.eu/q/https://github.com/twitter/the-algorithm/tree/main/navi/navi) (`是也乎`: Twitter 工程能力, 直接透了底儿 ) - [世界上最危险的编解码器:查找和利用 H.264 解码器中的漏洞(使用 H26Forge 以 Rust 编写) \[PDF\]](https://wrv.github.io/h26forge.pdf) - [61 评论 in 2 讨论s](https://discu.eu/q/https://wrv.github.io/h26forge.pdf) - [Tree Borrows: Rust 的新别名模型](https://perso.crans.org/vanille/treebor/) - [51 评论 in 2 讨论s](https://discu.eu/q/https://perso.crans.org/vanille/treebor/) (`是也乎:` ![Tree](https://ipic.zoomquiet.top/2023-04-03-zshot%202023-04-03%2012.36.37.jpg) 叕一个认真思考后的整体方案, 解决开发体感又一个问题 ) - [一页说透线性类型](https://blog.yoshuawuyts.com/linear-types-one-pager/) - [44 评论 in 1 讨论](https://discu.eu/q/https://blog.yoshuawuyts.com/linear-types-one-pager/) - [Bevy Jam #3: 副作用现已开始!](https://itch.io/jam/bevy-jam-3) - [39 评论 in 3 讨论s](https://discu.eu/q/https://itch.io/jam/bevy-jam-3) - [发布 Rust 1.68.2](https://blog.rust-lang.org/2023/03/28/Rust-1.68.2.html) - [37 评论 in 1 讨论](https://discu.eu/q/https://blog.rust-lang.org/2023/03/28/Rust-1.68.2.html) - [clap v4.2,一个 Rust CLI 参数解析器](https://epage.github.io/blog/2023/03/clap-v4-2/) - [36 评论 in 1 讨论](https://discu.eu/q/https://epage.github.io/blog/2023/03/clap-v4-2/) (`是也乎:` 一口气儿提供了多种指令构建流程, 不给其它 crate 留活路... ) ----------------------------------------- ## 发布/版本... > Releases - [erdtree: 一种现代的、多线程的、️‍🌈审美️‍🌈 tree 和 du 的替代品 - v1.7.0 发布️ ️](https://github.com/solidiquis/erdtree) - [313 评论 in 12 讨论s](https://discu.eu/q/https://github.com/solidiquis/erdtree) - [Helix 编辑器 23.03 发布!](https://helix-editor.com/news/release-23-03-highlights/) - [218 评论 in 3 讨论s](https://discu.eu/q/https://helix-editor.com/news/release-23-03-highlights/) - [Rust Search Extension v1.10.0 已经发布](https://rust.extension.sh/changelog/#v1-10-0-2023-03-25) - [85 评论 in 7 讨论s](https://discu.eu/q/https://rust.extension.sh/changelog/%23v1-10-0-2023-03-25) (`是也乎`: 巧妙的占住了一个刚需小领域... ) - [faer 0.6.0 发布](https://github.com/sarah-ek/faer-rs) - [65 评论 in 4 讨论s](https://discu.eu/q/https://github.com/sarah-ek/faer-rs) - [Polars\[Query Engine/ DataFrame\] 0.28.0 发布 :)](https://github.com/pola-rs/polars/releases/tag/rs-0.28) - [33 评论 in 1 讨论](https://discu.eu/q/https://github.com/pola-rs/polars/releases/tag/rs-0.28) - [Fundoc 0.5.0 已经发布; 是一个基于 mdBook 的语言无关文档生成器,支持用 Lua 编写的插件和跨存储库文档生成.](https://github.com/daynin/fundoc) - [23 评论 in 2 讨论s](https://discu.eu/q/https://github.com/daynin/fundoc) (`是也乎:` 支持 mdBook 的插件, 叕一个其它语言的工程被 Rusty ) - [effing-mad 0.1.0 发布](https://crates.io/crates/effing-mad/) - [16 评论 in 1 讨论](https://discu.eu/q/https://crates.io/crates/effing-mad/) - [rustls 0.21 发布,支持 IP 地址服务器名称](https://www.memorysafety.org/blog/rustls-new-features/) - [12 评论 in 2 讨论s](https://discu.eu/q/https://www.memorysafety.org/blog/rustls-new-features/) - [Matchbox 0.6 发布 - 用于 rust wasm 和原生的无痛点对点 WebRTC 网络; 现在支持多个可靠和不可靠的通道、客户端-服务器拓扑等](https://johanhelsing.studio/posts/matchbox-0-6) - [5 评论 in 2 讨论s](https://discu.eu/q/https://johanhelsing.studio/posts/matchbox-0-6) - [Version 0.6.0 of serde_json_path 版本发布: 在 JSONPath 查询中使用函数!](https://github.com/hiltontj/serde_json_path/blob/main/serde_json_path/CHANGELOG.md#060-2-april-2023) ----------------------------------------- ## 好物/妙品/... > projects - [Effing-mad, Rust 效果库](https://github.com/rosefromthedead/effing-mad) - [91 评论 in 2 讨论s](https://discu.eu/q/https://github.com/rosefromthedead/effing-mad) (`是也乎:` 探索函数调用颠倒效应的边界... ) - [Elkowars Wacky Widgets – 在任何窗口管理器中创建自定义小部件](https://github.com/elkowar/eww) - [80 评论 in 5 讨论s](https://discu.eu/q/https://github.com/elkowar/eww) (`是也乎:` 基于 GTK 的跨平台桌面组件框架 ) - [no_panic 在 hello world 中导致错误?](https://github.com/dtolnay/no-panic) - [51 评论 in 3 讨论s](https://discu.eu/q/https://github.com/dtolnay/no-panic) - [用 Rust 编写的国际象棋引擎; 能在本地和网络上运行!](https://github.com/ParthPant/chess-rs) - [46 评论 in 1 讨论](https://discu.eu/q/https://github.com/ParthPant/chess-rs) (`是也乎:` 无依赖 国际相棋自动对战服务? ) - [runa: Rust 中的 wayland 合成器工具箱,正在寻找合作者](https://github.com/yshui/runa) - [27 评论 in 3 讨论s](https://discu.eu/q/https://github.com/yshui/runa) - [cayley: 一个通用的,堆栈分配的线性代数板 crate](https://crates.io/crates/cayley) - [24 评论 in 1 讨论](https://discu.eu/q/https://crates.io/crates/cayley) - [Spaceman:来自另一个世界的 gRPC 客户端; 既可以作为 CLI 也可以作为使用 Tauri 和 Yew.rs 构建的 GUI](https://github.com/eliaperantoni/spaceman) - [23 评论 in 1 讨论](https://discu.eu/q/https://github.com/eliaperantoni/spaceman) - [imstr crate: 中的不可变字符串(廉价的可克隆和可切片字符串)](https://github.com/xfbs/imstr) - [18 评论 in 1 讨论](https://discu.eu/q/https://github.com/xfbs/imstr) (`是也乎:` Py 在 C++ 化, Rust 在 Pythonic 化? ![Immutable](https://ipic.zoomquiet.top/2023-04-03-zshot%202023-04-03%2012.13.24.jpg) 反正为了生产效率...先得服务好工程师体感, 然后,才是 AI 的... ) - [garde: 一个验证库](https://github.com/jprochazk/garde) - [14 评论 in 1 讨论](https://discu.eu/q/https://github.com/jprochazk/garde) (`是也乎:` 越来越多常用 crate 不是官方出品的了, 这反应了社区的活力. ) - [Rust 在记录鲸鱼行为的海洋研究中](https://github.com/nordic-dev-net/hydrophonitor) - [14 评论 in 1 讨论](https://discu.eu/q/https://github.com/nordic-dev-net/hydrophonitor) ----------------------------------------- ## 视频 > Videos - [本次演讲的一些结论也可能与 Rust 社区相关:Teaching Haskell to Kids](https://youtu.be/uTmQ_JtjHgw) - [33 评论 in 3 讨论s](https://discu.eu/q/https://youtu.be/uTmQ_JtjHgw) (`是也乎:` 象70年代一样编程... 为了推广 Rust 值得向小朋友们推广 Haskell ? ![Haskell](https://ipic.zoomquiet.top/2023-04-03-zshot%202023-04-03%2012.10.37.jpg) 是的 HTML 当然是严格意义上的编程... ) - [我的开发设置(Neovim、Tmux、Alacritty 和其他基于 Rust 的工具)](https://www.youtube.com/watch?v=stCXFxC4OH0) - [6 评论 in 1 讨论](https://discu.eu/q/https://www.youtube.com/watch?v=stCXFxC4OH0) (`是也乎:` 只能说差生文具多了... 随着 rustacean 的发展, 越来越多的常用工具被重写, 但是, 都替换掉并不能代表一切更加效率, 毕竟工具代表的日常行为并没有优化掉. ) - [我刚刚制作了一个视频,向那些因为使用 ECS 而被 put off 的人解释什么是 ECS](https://youtu.be/dBJHe_SVgZA) - [5 评论 in 1 讨论](https://discu.eu/q/https://youtu.be/dBJHe_SVgZA) - [对于希望从 bevy 0.10 开始的任何人](https://youtu.be/IHRI01Oqj60) - [学习 Bevy 0.10 初学者教程 - EP10 - Bevy UI 现已推出!](https://youtube.com/watch?feature=share&v=iW19V3a96tY) (`是也乎:` 每周都是 Bevy 三连击...勤劳的印度理工... ) - [Rust in Action](https://www.youtube.com/watch?list=PLEx5khR4g7PJbSLmADahf0LOpTLifiCra&v=iYJ6bLITZsI) (`是也乎:` 淦...这可能是 Rust 为什么这么活跃的原因之一, 各种大佬都很年轻, 已经是计算机第二代了... ) - [The Truth about Rust/WebAssembly Performance](https://www.youtube.com/watch?v=4KtotxNAwME) (`是也乎:` 反正, WASM 在坚定的实用化中 JS 的好日子不多了, 很可能缩小为内核的一部分... ) ----------------------------------------- ## DAMA > ❤️ Happy Pythonic ;-(`大妈私人无责任播报`) - [Zoom\.Quiet’s Chaos42 \| Substack](https://zoomquiet.substack.com/) + 古早:新闻组式写作 + 欢迎订阅, 包含当前周刊 - [LDS❤️💀🤖](LDS42.PODCAST.XYZ) + 播客:小宇宙 + 收集各种嗯哼... - [Chaos42 - YouTube](https://www.youtube.com/watch?v=fPQ6piLqMXE&list=PLToFpvpg6EgRo6naYOp-BX4So-DxOCne8&index=1) + VLog + 恢复各种嗯哼... ``` _~^*`~_ () / ◕ O \ \/ '_ ⏡ _' ( '-----' ) ...act by ferris-actor v0.2.4 (built on 23.0303.201916) ``` ----------------------------------------- # PS: - 首发: [Rust概览 13/2023 ~ 锈览上周主要 ;-)](https://weekly.rs.101.so/2023/RR23W13.html) - 修订: [RR23W13.md](https://github.com/zhrust/weekly/tree/main/docs/2023/RR23W13.md) ## PPS: 不觉中[~ 蠎周刊 ~ 汇集全球蠎事儿 ;-)](https://weekly.pychina.org/)快译已经到了第11个年头 Rustaceans 世界当然也有相似周刊, 那就一起呗; 问为什么: [皱眉]每周新闻资讯 怎么能错过 看看有什么新东西 当有新的发现时: what f**k 还能这样玩? 还有这东西? 每周开彩蛋[吃瓜] `无法同意更多`... 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也. ------------- 好文笔,感叹号年度配额: **1/3** 投稿/反馈邮箱: askdama@googlegroups.com (邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...) ------------- ZoomQuiet/**[大妈](https://mp.weixin.qq.com/s/N5TuRRbF558D4Q90XdDA7g)** 就是四处 `是也乎,( ̄▽ ̄)` 的那个[大妈](https://mp.weixin.qq.com/s/N5TuRRbF558D4Q90XdDA7g): ```python 公开社群: 蟒营 (订阅号: Mainium) 历史吐糟: Chaos42 (订阅号 PythoniCamp) as 创始组织者: CPyUG (mailling-list: python-cn@googlegroups.com) PyChina (订阅号: PyChinaOrg) 本地社区: GDG珠海 (订阅号: GDG-ZhuHai) TFUG珠海 (订阅号: ZH_TFUG) ``` -------------

本文回顾了Rust在2023年第13周的进展,涵盖了性能优化、内建模块、发布、项目和视频等主题。其中包括黄金法则、火焰图分析、跨平台桌面组件框架和国际象棋自动对战服务等项目。此外,还有关于Rust的视频和Rustaceans世界的周刊。展示了Rust社区的活力和创新精神。

RR23W13.md
相关推荐 去reddit讨论