Nugine0

Nugine0

V2EX 第 362983 号会员,加入于 2018-11-14 08:45:06 +08:00
今日活跃度排名 18920
根据 Nugine0 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
Nugine0 最近回复了
@james122333
有力人士施压这个无法证明也无法证伪,上次他们开除俄罗斯开发者就没承认到底为什么,不能排除美国信创影响。

确实有内核开发者提到裁剪 Rust 的问题,目前的共识看起来是要做到完全剔除 Rust 也可以编译,避免影响纯 C 的用户。不过从纯技术角度看,Linux 内核第二语言是一个有意义的探索。
@kk2syc 你看错了,Linus 是回应 Christoph Hellwig 。硬要比喻也是菜刀研发者无权管理菜刀生产线开工还是停工。同一个工厂,不同分工。
@zzz22333 这件事是有维护者反对一个 Linux 主线中的 Rust PR ,Linus 表示你这个 C 方面的维护者无权阻止合并……
Linus 的态度是明确反对 c++ 进内核,支持在内核驱动方面引入 Rust ,并且是合并到主线,不是 out of tree 。
不重要的账号用浏览器等同步服务。
敏感账号靠脑子硬背,忘了就重置密码再次硬背。
17 天前
回复了 bertonzh 创建的主题 分享创造 分享一个在线 HASH 计算的工具
浏览器版本免得开终端拼命令了,挺省事,建议再加个 hash 命令速查表。
还可以加功能,对比两批文件是否存在不一致,对应 `sha256sum -c`。
@jqtmviyu
确实是增加了沟通成本。但大领导都决定要推进新功能了,其他人也都干了几年了,轮到这个模块时后端突然撕破脸大家都别干了,你说离不离谱
@lesismal
同意各有对错的说法。Hellwig 引战不对,Martin 发小作文也不对。Linus 首先表示别搞小作文是正确的,但仍需要站出来调和两派冲突。
@maix27
你自己也承认你在对人不对事,承认你在冒火。帽子飞来飞去,你认为我“装理中客”,那我也没办法。
这样吧,你想让我回复哪个评论,你就贴链接出来,或者知乎私信我。

> This is NOT because I hate Rust

Hellwig 这段叠甲承认他 hate Rust ,否认他干出这事是因为 Rust 。实际上呢?你猜?

下游写驱动要用 DMA ,没改到核心 C 代码,只是做了个 Rust binding ,也答应一旦被 break 会修复。
看到没,是要用,不是要改。

但 Hellwig 想单人掌控所有调用 DMA 的地方,完全不接受其他人合作。我是没看到有哪个人这样写项目的。
@maix27

结论不符合你心意就是“装理中客拉偏架”呗。这种帽子到处都在扔,看来如今我也收到了。

https://rust-for-linux.com/rust-kernel-policy

> The "RUST" subsystem maintains certain core facilities as well as some APIs that do not have other maintainers. However, it does not maintain all the Rust code in the kernel — it would not scale.
> Nevertheless, the team can be approached for help if needed — indeed, the intention has always been to build a mixed team of people that could help across the kernel to bootstrap Rust.
> Eventually, the "RUST" subsystem could also act as "fallback maintainers" for Rust code too, similar to how akpm serves as a last resort maintainer.

没说必须让你擦,你不行还能找人。

> However, exceptionally, for Rust, a subsystem may allow to temporarily break Rust code. The intention is to facilitate friendly adoption of Rust in a subsystem without introducing a burden to existing maintainers who may be working on urgent fixes for the C side. The breakage should nevertheless be fixed as soon as possible, ideally before the breakage reaches Linus.

你做 C 的 breaking change ,也允许临时破坏 Rust 构建。

> 人家后端同意你在(前端)驱动里拉屎,人家不同意在 DMA 里拉屎,够不够清楚?

写驱动要用 DMA ,你一万个不同意,就因为你 hate Rust 。这下下游没法干了,你这是合作的态度?

> 好,请问你现在能告诉我 Rust 进 Linux 项目多久吗? Linux 项目发起多久了?

https://en.wikipedia.org/wiki/Rust_for_Linux
https://fosdem.org/2025/events/attachments/fosdem-2025-6507-rust-for-linux/slides/236835/2025-02-0_iwSaMYM.pdf

一批关键维护者,Google, Arm, Microsoft, Red Hat 等公司支持 Rust for Linux ,不然你以为 Linus 为什么推得动 Rust for Linux 进主线?人家内部斗争闹着玩呢?
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2903 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 14:50 · PVG 22:50 · LAX 06:50 · JFK 09:50
Developed with CodeLauncher
♥ Do have faith in what you're doing.