Rust in the kernel is no longer experimental

57 points by accelbread 2 months ago on lobsters | 9 comments

JulianWgs | 2 months ago

Thanks for changing the title :)

Comment removed by author

jmiven | 2 months ago

Comment removed by author

[OP] accelbread | 2 months ago

Seems we can now assume the stuff Rust for Linux needs will get stabilized.

rileylabrecque | 2 months ago

Coincidentally a lot of it is also stuff that Rust for myself needs too, looking forward to it!

[OP] accelbread | 2 months ago

Yup! Once the stuff on the Rust for Linux wishlist, Rust on GCC, and panic_immediate_assert are stable, I'm looking forward to giving Rust another go for personal stuff again.

strugee | 2 months ago

I'm curious why you need Rust on GCC? (Not hard for me to imagine there are lots of reasons, but I'm not experienced enough in this area to have a clear guess as to what they might be.)

[OP] accelbread | 2 months ago

My main reason for wanting it is that I dont find having LLVM on the bootstrap chain for my software to be acceptable. LLVM takes quite a while to build and is a large dependency. Getting Rust support from building GCC would solve that issue.

Also i want cross-language LTO with my C code. Clang does not support C23 (missing storage class specifiers on compound litterals). It also doesn't have a C2y feature I'm using, and does not support GCC nested functions and other GCC extensions I'm using. Thus my C code requires GCC, and thus I'll need Rust to compile with GCC for cross-lang LTO.

ekuber | 2 months ago

That was already the intent even before this news.

[OP] accelbread | 2 months ago

I understand it was always the intent, but this sort of commitment is easier to rely on than just intent.

peter-leonov | 2 months ago

Thanks for changing the title 🙏