r/linux • • Dec 10 '25

Kernel "Rust in the kernel is no longer experimental — it is now a core part of the kernel and is here to stay."

https://lwn.net/Articles/1049831/
1.5k Upvotes

353 comments sorted by

View all comments

Show parent comments

17

u/ThellraAK Dec 10 '25

I know I hated it as a build dependantcy when I was using Gentoo.

11

u/derangedtranssexual Dec 10 '25

Why?

20

u/Barafu Dec 10 '25

Probably hated all build dependencies. Its Gentoo.

5

u/ThellraAK Dec 10 '25

Naa, most were interesting or fun. Rust and llvm (which are the same but aren't?) were just like...

Turning your computer into a space heater for many hours, somehow worse the compiling a modern browser.

And it also requires itself to build, so you couldn't even start it "pure" without binaries.

21

u/crazy_penguin86 Dec 10 '25

That second point is fairly normal though and not exclusive to rust so I don't see the point in bringing it up. The only reason it seems like you don't need to bootstrap for gcc stuff is because they include a version for compilation.

5

u/oln Dec 10 '25

not op but it's annoying when tinkering on my ancient machines that the rust package on gentoo doesn't work without SSE2 currently, granted that is a very niche thing lol. (The rust compiler does technically support it but the gentoo ebuild isn't patched to work with it as of now as it seems to need some tweaking to work properly and upstream rust and llvm devs are not super stoked about supporting it either as it results in some non-standard float behaviour unless you want to do super slow soft float emulation.)

9

u/AWonderingWizard Dec 10 '25

Well for one, it is one of the longest compile times you can possibly have.

15

u/derangedtranssexual Dec 10 '25

Oh I see, I hadn’t considered rust’s terrible compile times would annoy gentoo users, I guess there’s positives in everything

4

u/i860 Dec 10 '25

Username checks out.

3

u/AWonderingWizard Dec 10 '25

LOL- I think you will find most are sore about it because you have to choose whether or not you want to use cargo to manage stuff, but I guess at this point the support will just have to improve. I know I'm already learning Rust, if not just to be able to understand how this will affect things moving forward.

I know Rust is inherently safe, I just hope this change is being done with care. I hope there are devs that know both rust and C well, because I worry about introduction of vulnerabilities at Rust <-> C interface/FFI. This is inherently going to introduce a need for atypical rust implementation. I'm new to rust, but I also worry about issues like procedural macros. Cargo scares the shit out of me.

3

u/dddurd Dec 10 '25

yes. librsvg is the only rust dependency on my system, but very annoying nontheless.