News for hackers. Stuff that matters.
Re:Rust for Filesystems by tupshin on Monday July 15, 2024 @09:49AM (#40967883)
This is not a notable challenge in rust, nor relevant to the article.

The article is about finding ways of using rust to actually implement kernel fs drivers/etc. Note that any rust code in the kernel is necessarily consuming C interfaces.

Bindgen works quite well for the use case that you are thinking.

https://github.com/rust-lang/rust-bindgen

Re:Rust for Filesystems by moomin on Monday July 15, 2024 @10:48AM (#40968357)
Yeah, the Rust proponents are being significantly more ambitious. Not just the ability to code a file system in Rust, but do it in a way that catches a lot of the correctness issues relating to the complex (and changing) semantics of FS development.