A first look at Rust in the 6.1 kernel
A first look at Rust in the 6.1 kernel
Posted Oct 14, 2022 13:39 UTC (Fri) by khim (subscriber, #9252)In reply to: A first look at Rust in the 6.1 kernel by amarao
Parent article: A first look at Rust in the 6.1 kernel
> I know, the thing I ask is selfish, but those selfish moments are actually breakthroughs. 'You can build a kernel module within this reasonable kernel framework and do not think about whole complexity of the magic behind the curtain'.
Note that the whole reason Rust is merged into the kernel now is specifically because something like that is just not possible. Kernel is very explicit and vocal about that: all kernel APIs are unstable and there are no stability guarantees.
> If I need to put few bits into GPIO and create few entries for /sys, why should I dive deep into kernel build details?If your needs are so modest then why do you even need kernel driver in the first place? Linux have GPIO API and you can do everything without needing to write any drivers.
