NetBSD's Kernel Supports Lua Scripting But Don't Look For Rust In There Anytime Soon
- Reference: 0001611336
- News link: https://www.phoronix.com/news/No-Rust-In-NetBSD-Kernel
- Source link:
NetBSD developer Benny Siegert who also works for Google wrote a blog post this week explaining why there likely won't be Rust code within its kernel anytime soon. That's even with [2]NetBSD's kernel supporting Lua scripts as a unique trait.
Diminishing the prospects of Rust code within the NetBSD kernel is that there are many CPU architectures supported where Rust isn't even available. That would be the lead and immediate blocker to Rust programming language use by NetBSD that supports a diverse array of architectures in a meaningful manner.
Maintaining Rust support has also been challenging with their package management. Also sharply pushing out any idea of using Rust in the NetBSD kernel is that NetBSD's release cycles not aligning with Rust. NetBSD supports the last two major releases and that means NetBSD 9.0 from 2020 and Rust 1.41 of that the isn't too practical: " If Rust 1.41 had been part of NetBSD 9, it would be useless for anything except compiling NetBSD itself – Rust 1.41 is so old that basically no modern code would compile with it. Not great. "
All the details on why you likely won't find Rust in the NetBSD kernel soon can be found on Benny Siegert's [3]blog .
[1] https://www.phoronix.com/news/FreeBSD-Considers-Rust-Base
[2] https://www.phoronix.com/news/MTMwMTU
[3] https://bentsukun.ch/posts/netbsd-rust-kernel/