Linux kernel drivers in Rust might become an option in the future
I think we should just evaluate Rust based on its merits. Ignore fanboys and ignore the opposite as well.<p>In other words, Rust is just another tool. Regard it as one without subjective emotions either way. Be constructive, don't only look for faults, but also ways how to overcome them. But don't close your eyes from them either. Acknowledging weaknesses is the first step to improvement.<p>Some possible questions and measures to consider below. I'm sure there's a lot more to add on this list.<p>1) Stability. Other than for development, unstable kernels are a no go. Can possible negative effects be mitigated?<p>2) Security is often what Rust is expected to bring on the table. So is Rust actually more secure in the environment kernel requires? This could be tested by "clean-room" reimplementing something that is historically known to have many security issues.<p>3) Are there showstoppers for kernel builds? Interoperability, build performance, architectures unsupported by Rust, etc. If so, could these be mitigated? Conversely, is there something positive Rust could provide?<p>4) How does it affect runtime performance? Average case. Bloat issues? Any pathologic cases? Any benefits?<p>5) What other unexpected it brings on the plate? Both benefits and disadvantages. For example, could Rust types also be used to catch errors other than memory related, like invalid states?<p>6) <Your consideration here or above>