行业动态
github.com ·
@Hacker News
Mold 链接器发布 v3.0.0,据称已用 Rust 重写
mold 链接器发布 v3.0.0 版本,标题称其已用 Rust 重写。Hacker News 讨论中有人询问重写动机(如对损坏输入的边界检查)以及是否使用 AI 工具,有评论推测近期提交很可能借助了 AI,但该说法未获证实;另有评论认为在 C/C++ 代码库中修复损坏输入处理并非易事。
AI推荐理由 mold 链接器发布 v3.0.0,标题称已用 Rust 重写,属开发者工具链的重要版本更新;但正文片段仅含 HN 评论,未提供官方发布说明或重写细节,评论中关于是否使用 AI 工具的说法为推测('almost certainly'),不能视为已证实。
72
正文
Domain: github.com/rui314
Points: 20 | Comments: 5
[Top Comments]
- I'm curious about motivation - bounds checks for corrupted inputs seems like it would be one, but it also seems that fixing corrupted input handling in a C/C++ code base would not be too hard, and probably less of an effort? So why did you choose the rewrite?
And second, did you use any AI tools for the rewrite?
- > And second, did you use any AI tools for the rewrite?
IMO, given the recent commits: almost certainly.
- [delayed]
- > fixing corrupted input handling in a C/C++ code base would not be too hard
The best programmers on the planet have tried and failed with this task for 50 years now, so I don't think this is true.
The main disadvantage of Rust right now is not supporting some more obscure platforms, but because mold wouldn't support them anyway I don't see that as a problem.
- unfortunate world we live in, the amount of trustable/ethical software is going to near zero.