News for hackers. Stuff that matters.
Re:Moreutils – Unix tools that nobody thought to write (2012) by nindalf on Saturday August 22, 2020 @04:46AM (#24242741)
Never say never :)

If Rust being added to the Linux kernel[1] isn't far-fetched, I don't think adding a utility in Rust is crazy either.

[1] - https://lore.kernel.org/lkml/CAKwvOdmuYc8rW_H4aQG4DsJzho=F+d...

Re:Moreutils – Unix tools that nobody thought to write (2012) by chalst on Saturday August 22, 2020 @12:37PM (#24245262)
Interesting.

Isn't it the case that LLVM doesn't support all architectures that Linux does?

Re:Moreutils – Unix tools that nobody thought to write (2012) by saagarjha on Saturday August 22, 2020 @01:58PM (#24245882)
I think this is just for kernel modules that you can choose to compile out.
Re:Moreutils – Unix tools that nobody thought to write (2012) by geofft on Saturday August 22, 2020 @02:58PM (#24246335)
That's what I expected too (as one of the people on the thread / one of the authors of the farthest-along set of bindings for modules), but Linus and Greg KH both seem fairly inclined for it to be on by default and used for core code (small bits of core code, in the beginning) and not simply modules. I'm not sure how that's going to play out with architecture support, and that's one of the things I want to get out of the Plumbers session this upcoming week.

https://github.com/fishinabarrel/linux-kernel-module-rust/is... is a chart of Linux architectures and whether Rust and LLVM support them.

Re:Moreutils – Unix tools that nobody thought to write (2012) by saagarjha on Saturday August 22, 2020 @03:43PM (#24246716)
Oh, wow, that would be huge. Not just architecture support, but even having a toolchain on some platforms might be problematic as I can imagine making rustc a requirement to build Linux to be fairly controversial in and of itself. And that architecture list is not looking very good…would be very interested to know what they decide on as well!