Rust的安全性是真实的,但不是免费的。你要为此付出复杂性的代价:所有权、生命周期、借用规则都很难学。有时候 借用检查器 会跟你较劲,即使你清楚自己在做什么。而C很简单,不安全,但简单。没有生命周期,没有借用检查器,只有指针、结构体和函数。在某些场景下,简单比安全更重要:内存极度受限的微型嵌入式系统、Rust工具链尚未覆盖的冷门硬件平台、在最底层工作的引导程序和固件。
IT之家 12 月 10 日消息,据外媒 LWN 今日报道,在 Linux 年度维护者峰会上,开发者们谈到了 Rust 实验内容的话题。与会开发者们达成共识,Rust 在内核中已不再是一项实验性工作 —— 它现在已成为内核的核心组成部分,并将长期存在。 报道称,Linux 内核的 Rust ...
Rust团队发布了Rust 1.93,这是该编程语言的最新版本,专为创建快速且安全的系统级软件而设计。此次发布改进了C标准库musl实现中涉及DNS解析器的操作。因此,Linux二进制文件在网络方面预计将更加可靠。
Microsoft and Linux are adding AI and Rust to their pipelines. Microsoft is leaning much harder into AI development than Linux. Both are expanding Rust, but neither OS will be fully Rust soon.
Linux 6.19 将首次支持使用 Rust 编写 I2C 驱动,提供核心 API 和示例代码,开启内核开发新篇章。了解最新进展! 随着 Linux 6.19 内核开发周期的推进,更多 Rust 语言相关内容即将加入主线,其中之一是让开发者能够使用 Rust 编写 I2C(Inter-Integrated Circuit)总线驱动。
Want a good tech job? Then you need to know Linux and open-source software. One of the best ways to learn is via a Linux Foundation course. Read now This isn't just a theory being pushed by Rust ...
Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources. Traditional caching fails to stop "thundering ...
What just happened? Rust will soon be part of Linux, Torvalds has decided. The memory safe programming language will join C and the other traditional languages developers use to create new pieces and ...