>> Рассказывали, что "никогда в ядре драйверов не будет" и тд.
>Не рассказывал, но надеялся. На что надеялся - непонятно. Тут уже не раз приводилась эта ссылка (отчет об уменьшении ошибок в андроиде из-за растущего использоваиня раста вместо сишки/плюсов), но вот в резюме они специально для тебя упомянули и ядро:
"What’s next?
Migrating away from C/C++ is challenging, but we’re making progress. Rust use is growing in the Android platform, but that’s not the end of the story. To meet the goals of improving security, stability, and quality Android-wide, we need to be able to use Rust anywhere in the codebase that native code is required. We’re implementing userspace HALs in Rust. We’re adding support for Rust in Trusted Applications. We’ve migrated VM firmware in the Android Virtualization Framework to Rust. With support for Rust landing in Linux 6.1 we’re excited to bring memory-safety to the kernel, starting with kernel drivers.
As Android migrates away from C/C++ to Java/Kotlin/Rust, we expect the number of memory safety vulnerabilities to continue to fall. Here’s to a future where memory corruption bugs on Android are rare!"
https://security.googleblog.com/2022/12/memory-safe-language...
Так что: " - Бегите, глупцы!".
Но... куда ты побежишь? На фряху собрался? Ха, семена посеяны (в умы), хоть всходов еще нет, так, отдельные травинки:
"Rust in the FreeBSD Kernel
Johannes Lundberg4 created a RustKPI FreeBSD Kernel Module) and e1000 Rust FreeBSD Network Driver example and Hello World Example as part of his Masters Thesis on Safe Kernel Programming with Rust (2018, PDF).
Anatol Ulrich5 wrote a Hello world FreeBSD kernel module in Rust. (github.com, 2021)
In August 2022, David Young6 of NCCGroup posted a Writing FreeBSD Kernel Modules in Rust research article and accompanying BSD-Licensed code repository, based on Johannes Lundberg's original work, updated to target Rust 2021."
https://wiki.freebsd.org/Rust
конечно, пока еще ни о чем, но лиха беда начало, сомнения (или надежды) проросли и во фряшных головах.