mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-26 21:30:55 +08:00
[提交译文][news]: 20220624 Linus Torvalds Expects to See Rust Support in the Kernel Soon.md
This commit is contained in:
parent
5f952fecd2
commit
57d1672f06
@ -1,63 +0,0 @@
|
||||
[#]: subject: "Linus Torvalds Expects to See Rust Support in the Kernel Soon"
|
||||
[#]: via: "https://news.itsfoss.com/linux-kernel-rust/"
|
||||
[#]: author: "Ankush Das https://news.itsfoss.com/author/ankush/"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: "lkxed"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
Linus Torvalds Expects to See Rust Support in the Kernel Soon
|
||||
======
|
||||
Linux Kernel 5.20 might debut with the Rust infrastructure as hinted by Linus Torvalds. What do you think?
|
||||
|
||||
![linus][1]
|
||||
|
||||
There are various open-source projects rewritten in Rust. Hence, it is not surprising that is being considered as the second language for Linux Kernel for a while now.
|
||||
|
||||
A few days ago at [The Linux Foundation’s Open-Source Summit][2], Linus Torvals mentioned that we should expect the trials for Rust in the next kernel release i.e Linux Kernel 5.20.
|
||||
|
||||
In case you did not know, there have been Rust Linux kernel patches already with few sample drivers and the enablement code for the basic infrastructure, as originally reported by [Phoronix][3].
|
||||
|
||||
So, Linus Torvalds hinting at a possible merge for the Rust infrastructure should not be a surprise. But, it is certainly exciting!
|
||||
|
||||
### Rust for Linux Kernel
|
||||
|
||||
While the ultimate goal is to make the Linux Kernel better, it will be considered a trial run for now.
|
||||
|
||||
Rust is increasingly becoming a popular programming language for all its benefits. Not to forget, [System76 is also working on a new desktop environment][4] written in Rust.
|
||||
|
||||
However, not everyone involved in maintaining the Linux Kernel would be familiar with the programming language.
|
||||
|
||||
So, would that be a problem?
|
||||
|
||||
Linus Torvalds does not see it as a big issue considering there have been other languages in the kernel as well. He also mentioned that he hopes to see Rust work out as something new.
|
||||
|
||||
Overall, he insists that he trusts the maintainers, unless they make a mistake, as reported by [The Register][5].
|
||||
|
||||
### Linux 5.20: When?
|
||||
|
||||
The Linux Kernel 5.19 release is due around the end of July. So, the merge window for 5.20 should open following its stable release (given there’s no unexpected delays).
|
||||
|
||||
Not just for Rust, but Linux Kernel 5.20 should be an important update for next-gen hardware support including RDNA3, and more features.
|
||||
|
||||
*What do you think about Rust coming to Linux in the near future? Exicited for it?*
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://news.itsfoss.com/linux-kernel-rust/
|
||||
|
||||
作者:[Ankush Das][a]
|
||||
选题:[lkxed][b]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://news.itsfoss.com/author/ankush/
|
||||
[b]: https://github.com/lkxed
|
||||
[1]: https://news.itsfoss.com/wp-content/uploads/2022/06/linus-expects-rust-support-in-linux-kernel-soon.jpg
|
||||
[2]: https://events.linuxfoundation.org/open-source-summit-north-america/
|
||||
[3]: https://www.phoronix.com/scan.php?page=news_item&px=Rust-Linux-v7-Plus-New-Uutils
|
||||
[4]: https://news.itsfoss.com/system76-rust-cosmic-desktop/
|
||||
[5]: https://www.theregister.com/2022/06/23/linus_torvalds_rust_linux_kernel/
|
@ -0,0 +1,63 @@
|
||||
en[#]: subject: "Linus Torvalds Expects to See Rust Support in the Kernel Soon"
|
||||
[#]: via: "https://news.itsfoss.com/linux-kernel-rust/"
|
||||
[#]: author: "Ankush Das https://news.itsfoss.com/author/ankush/"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: "lkxed"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
Linus Torvalds 暗示很快就可以在内核中看到对 Rust 的支持
|
||||
======
|
||||
正如 Linus Torvalds 所暗示,Linux Kernel 5.20 可能会与对 Rust 的支持一起首次亮相。你怎么看?
|
||||
|
||||
![Linus][1]
|
||||
|
||||
市面上已经有许多用 Rust 重写的开源项目。因此,Rust 一段时间以来被认为是 Linux 内核的第二语言,也就不足为奇了。
|
||||
|
||||
几天前,在 [Linux 基金会开源峰会][2] 上,Linus Torvals 提到他们预计将在下一个内核版本(即 Linux 内核 5.20)中对 Rust 进行试验。
|
||||
|
||||
如果你不知道,正如 [Phoronix][3] 率先报道的那样,Linux 内核补丁中已经包含了少量的示例驱动程序,以及支持基本的基础设施的 Rust 代码。
|
||||
|
||||
因此,Linus Torvalds 对可能合并 Rust 支持的暗示,也不足为奇。但是,这无疑是令人兴奋的!
|
||||
|
||||
### 用于 Linux 内核的 Rust
|
||||
|
||||
这么做的最终目标是让 Linux Kernel 变得更好,但它现在仍然处于试运行阶段。
|
||||
|
||||
凭借其所有优势,Rust 正日益成为一种流行的编程语言。不要忘记,[System76 也在开发一个用 Rust 编写的新桌面环境][4]。
|
||||
|
||||
然而,并不是所有参与维护 Linux 内核的人都熟悉这种编程语言。
|
||||
|
||||
那么,这会是一个问题吗?
|
||||
|
||||
考虑到内核中还有其他语言,Linus Torvalds 并不认为这是一个大问题。他还提到他希望看到 Rust 成为新的一份子。
|
||||
|
||||
[The Register][5] 报道称,Linus Torvalds 表示会信任维护者,除非他们犯了错误。
|
||||
|
||||
### Linux 5.20:何时发布?
|
||||
|
||||
Linux 内核 5.19 版本将于 7 月底左右发布。因此,5.20 版本的合并窗口应该会在其稳定发布后打开(假设没有意外延迟的话)。
|
||||
|
||||
除了 Rust 以外,Linux Kernel 5.20 应该也是对下一代硬件支持的重要更新(包括 RDNA3),同时提供了更多功能。
|
||||
|
||||
*你如何看待 Rust 在不久的将来会进入 Linux 呢?你感到兴奋吗?欢迎在下方评论区告诉我们~*
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://news.itsfoss.com/linux-kernel-rust/
|
||||
|
||||
作者:[Ankush Das][a]
|
||||
选题:[lkxed][b]
|
||||
译者:[lkxed](https://github.com/lkxed)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://news.itsfoss.com/author/ankush/
|
||||
[b]: https://github.com/lkxed
|
||||
[1]: https://news.itsfoss.com/wp-content/uploads/2022/06/linus-expects-rust-support-in-linux-kernel-soon.jpg
|
||||
[2]: https://events.linuxfoundation.org/open-source-summit-north-america/
|
||||
[3]: https://www.phoronix.com/scan.php?page=news_item&px=Rust-Linux-v7-Plus-New-Uutils
|
||||
[4]: https://news.itsfoss.com/system76-rust-cosmic-desktop/
|
||||
[5]: https://www.theregister.com/2022/06/23/linus_torvalds_rust_linux_kernel/
|
Loading…
Reference in New Issue
Block a user