A memory model for Rust code in the kernellwn.net/Articles/967049/ 感兴趣的同学可以去原文了解更多细节并交叉验证我的理解。Rust进入Linux内核已经不是什么新鲜事了,但是在开发实践当中还是一片百废待兴的景象。此处的内存模型并不是说Rust的内存安全保证,而是内存的访问一致性(consistency/coherence)模型,实...
Filho 表示微软为履行在 Linux 生态中推动 Rust 发展的承诺,通过发布新的补丁,来完善 Rust 内核代码的分配应用程序接口(Allocation API),并引入了 Rust 内核模块的就地模块初始化(in-place module initialization)。Linux 内核中的模块初始化此前需要返回一个实例,并将其移动到指定的内存空间。而在部署该新补丁...
Linux之父Linus分享了他对Rust与C语言在Linux内核中争论的看法。他把这场争论比作“vi与Emacs之争”,...
此后,Linus Torvalds 和其他核心内核维护者都表示原则上对支持 Rust 的内核开发持开放态度,因此 Plumbers 的会议旨在列出具体能让 Rust 进入 Linux kernel 的一些要求。这次会议是在 linux-kernel 邮件列表上提出并讨论的,当时就已经提出了一部分讨论主题。 这次会议的主角也是 Thomas 和 Gaynor,还有 Josh Triplett——...
链接: https://fosstodon.org/@kernellogger/111741507899977461 GitHub: https://github.com/torvalds/linux/blob/master/drivers/net/phy/ax88796b_rust.rs [new lib] rs-measures 一个Rust 宏库,用于将数字静态封装在具有度量单位的对象中。 动机:使用原始的 Rust 数据类型来存储物理或几何量的值,可能会出现...
那么对此你有什么看法吗? 参考链接: https://www.zdnet.com/article/linus-torvalds-on-where-rust-will-fit-into-linux/ https://arstechnica.com/gadgets/2021/03/linus-torvalds-weighs-in-on-rust-language-in-the-linux-kernel/?comments=1
自Linux 6.1起,初始的Rust基础设施被添加到Linux内核中。此后为了使内核驱动程序能够用Rust编程语言编写,Linux内核已经合并了许多其他管道和内务管理工作。随着即将到来的Linux 6.8内核周期,第一个Rust网络驱动程序将被引入。最近一个“net-phy-rust”驱动程序被合并到了net-next.git分支。该驱动为phylib Rust绑定...
gitclonehttps://github.com/Rust-for-Linux/linux.git 其他依赖项安装以及内核编译等详细内容可以参考这篇文章:[Rust Kernel Module: Getting Started](https://wusyong.github.io/posts/rust-kernel-module-00/) 。或者查看视频:Mentorship Session: Writing Linux Kernel Modules in Rust 。
https://www.reddit.com/r/rust/comments/18e6qrl/linus_on_rust_in_the_linux_kernel_december_2023/ https://www.phoronix.com/news/Google-Linux-Binder-In-Rust 公众号【巴特星球】输出优质的AI资讯、前沿政策动向、AI技术,欢迎关注!知识星球付费社区【巴特星球学习交流】资料1000+份,持续上新行业最新资料...
几天前在Linux 基金会的开源峰会上,Linus Torvals 提到我们应该期待在下一个内核版本即 Linux Kernel 5.20 中对 Rust 进行试验。 Linux 之父 Linus Torvalds 在本月 21 日早上的 Linux 基金会开源峰会上发表讲话时,谈到了 Rust 在 Linux 内核中的可能性,并且它可能很快就会登陆——甚至可能是下一个内核周期。