4 ms·
>The next article in this series will look at the design of the interface between the C and Rust code in the kernel, as well as the process of adding new bindin
by charcircuit 1y ago
>The next article in this series will look at the design of the interface between the C and Rust code in the kernel, as well as the process of adding new bindings when necessary.
This is the actual useful one since so little of the kernel has Rust bindings. When I tried to implement a filesystem driver in rust I spent most of my time trying to write bindings instead of trying to write a filesystem.
- Joel_Mckay 1y agoThere are projects that make more sense: https://arxiv.org/abs/2506.03876 https://arxiv.org/abs/2506.03876 https://github.com/asterinas/asterinas https://github.com/asterinas/asterinas The reasons we encounter pattern issues forcing Linux into a polyglot is not a new phenomena: https://en.wikipedia.org/wiki/Second-system_effect https://en.wikipedia.org/wiki/Second-system_effect Best regards =3
- leoh 1y agoDid you try bindgen? Because it’s extremely good and efficient imo.