Linux カーネルにおける Rust:実験から恒久へ

2025 年 Kernel Maintainer Summit の承認後——ベンチマークと課題に関する以前の報道で詳述——という歴史的な転換を示し、Rust は Linux カーネルの恒久的な要素となり、2019 年まで遡る深いルーツを持ち、今後の野心的な計画がある。

カーネル向け Rust の議論は 2019 年の Linux Security Summit で始まり、メンテナーが脆弱性の 3 分の 2 がメモリ安全性欠陥によるものであると指摘した。Rust の機能——安全コードでの未定義動作なし、厳格な型、安全/unsafe 境界——は魅力的な解決策を提供した。

勢いは 2020 年 8 月の Linux Plumbers Conference での Miguel Ojeda らの開発者トークで築かれた。Google は 2021 年に Prossimo イニシアチブを通じて Ojeda をフルタイムで資金提供した。2021 年 4 月の RFC は Rust の役割を明確化:C コア上のドライバとリーフモジュールを対象とし、大規模な書き換えを避ける。

東京サミットで、ドキュメントから「Rust 実験」ラベルが削除された。Ojeda はカーネルリストに投稿:「実験は終了、つまり Rust はここに残る」。すべての設定、アーチ、ツールチェーンが準備万端ではなく、GCC カーネルビルド向け gccrs の作業が続き、更新がまもなく予定。

証拠は豊富:Greg Kroah-Hartman は Rust ドライバの安全性と問題の少なさを称賛。Android 16 のカーネル 6.12 は数百万デバイスで Rust アロケータを使用。DRM の Dave Airlie は 1 年以内に新規ドライバに Rust を義務化予定。

今後、Debian stable から Rust でカーネルビルド、2026 年 5 月までに APT で厳格要件。s390 などのアーチや正式仕様に課題残る。これにより Rust の企業勢いが固まり、2024 年調査の採用懸念に対抗。

関連記事

Linux kernel maintainer Greg Kroah-Hartman presented a new Rust type at RustWeek 2026 that could prevent most security vulnerabilities. The approach focuses on handling untrusted data from userspace and hardware. It builds on existing Rust safety features already in the kernel.

AIによるレポート

Developers have released Linux kernel 7.0, featuring improvements for Intel and AMD hardware, enhanced storage handling, and the removal of the experimental label from Rust support. Linus Torvalds announced the update, which is not a long-term support version. The release includes preparations for upcoming CPUs and GPUs, alongside self-healing filesystem capabilities.

このウェブサイトはCookieを使用します

サイトを改善するための分析にCookieを使用します。詳細については、プライバシーポリシーをお読みください。
拒否