Re: [PATCH 09/13] Samples: Rust examples
From: Nick Desaulniers <hidden>
Date: 2021-04-14 23:25:09
Also in:
linux-kbuild, lkml, rust-for-linux
From: Nick Desaulniers <hidden>
Date: 2021-04-14 23:25:09
Also in:
linux-kbuild, lkml, rust-for-linux
On Wed, Apr 14, 2021 at 12:35 PM Linus Torvalds [off-list ref] wrote:
On Wed, Apr 14, 2021 at 11:47 AM [off-list ref] wrote:quoted
From: Miguel Ojeda <ojeda@kernel.org> A set of Rust modules that showcase how Rust modules look like and how to use the abstracted kernel features.Honestly, I'd like to see a real example. This is fine for testing, but I'd like to see something a bit more real, and a bit less special than the Android "binder" WIP that comes a few patches later. Would there be some kind of real driver or something that people could use as a example of a real piece of code that actually does something meaningful?
Are you suggesting that they "rewrite it in Rust?" :^P *ducks* (sorry, I couldn't help myself) Perhaps it would be a good exercise to demonstrate some of the benefits of using Rust for driver work? -- Thanks, ~Nick Desaulniers