Linux カーネルにおける Rust:展開、安全性、および課題

Linux カーネルにおける Rust の新しい恒久的な地位を基盤に—2019 年の実験から東京メンテナサミットでの承認までの歴史を追って—Android 16 の Rust アロケータなどの本番展開が稼働中であり、先進的なドライバと安全性の向上を伴うが、批判は継続的な障害を強調している。

東京メンテナサミット(前述の通り)で Rust が Linux カーネルの定番となった今、現実世界での採用が加速している。カーネル 6.12 を基盤とする Android 16 では、Ashmen メモリアロケータを Rust で完全に書き直し、数百万台のデバイスに Rust コードをもたらしている—ただし、すべての構成、アーキテクチャ、ツールチェーンで普遍的ではない。

Rust は洗練されたコンポーネントを駆動:NVIDIA 向け Nova、Apple Silicon 向け Asahi、ARM Mali 向け Tyr などの GPU ドライバ;rust_ext2 ファイルシステムドライバ;Android に不可欠なネイティブ Binder IPC 実装。

安全性の指標が主張を裏付ける:Comprehensive Vulnerabilities Dictionary のデータによると、20 年間のカーネル欠陥の 15.9% がバッファオーバーフローなどのメモリ問題に起因し、Rust は安全なコードでこれを防ぐ。Greg Kroah-Hartman のようなメンテナは、Rust ドライバが統合問題が少なく安全であると指摘。

しかし、課題は残る。『The C Programming Language』の共著者 Brian Kernighan は、Rust を複雑さ、遅いコンパイル、学習曲線のため「苦痛」と評した。gccrs のような取り組みは GCC ベースのビルドを可能にし、Debian の安定ツールチェーンを含む広範な互換性を目指す—APT 向けに 2026 年 5 月までに厳格な Rust 要件を予定するが、IBM s390 のようなアーキテクチャのギャップがある。

関連記事

Illustration depicting Linux 7.0 kernel enhancements to AppArmor, AMDGPU, Ceph, and eCryptfs, featuring Tux at a coding workstation.
AIによって生成された画像

Linux 7.0 kernel merges several enhancements

AIによるレポート AIによって生成された画像

The Linux 7.0 kernel development has incorporated updates to AppArmor, AMDGPU, Ceph, and eCryptfs. These changes include security and hardware support improvements. The merges signal ongoing progress toward the kernel's release.

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.

AIによるレポート

An article details a personal experiment where standard Linux coreutils were replaced with versions written in Rust. The author reports that these alternatives performed surprisingly faster. The piece was published on February 20, 2026.

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

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