The Linux devs are hesitant to use Rust, because it doesn’t compile to all platforms Linux supports. So, it can only be used for drivers that are only useful on specific platforms that are supported by the compiler, which meant that until now it only was experimental ones like the graphics driver for Apple Silicon Macs.
RustyNova@lemmy.world
on 15 Jan 2024 15:26
collapse
So it’s the first useful thing built in rust for the Linux kernel?
And the out of context is “First useful thing built in rust (period)”?
ericjmorey@programming.dev
on 15 Jan 2024 16:43
collapse
Yes.
BatmanAoD@programming.dev
on 15 Jan 2024 18:14
collapse
The poster finds it “kinda odd” that people don’t immediately correctly interpret statements like this toot as being exclusively about the upstream kernel: fosstodon.org/@kernellogger/111742009818641713
I find it “kinda odd” that he expects that to be a natural reading of the original toot.
dinckelman@lemmy.world
on 15 Jan 2024 13:23
nextcollapse
Kind of deceptive wording. A considerable amount of code, that went into making the Apple M1 through M3 hardware work on Linux, is written in Rust, namely the graphical stack
threaded - newest
.
wording is pretty funny here taken out of context.
What even is the context?
The Linux devs are hesitant to use Rust, because it doesn’t compile to all platforms Linux supports. So, it can only be used for drivers that are only useful on specific platforms that are supported by the compiler, which meant that until now it only was experimental ones like the graphics driver for Apple Silicon Macs.
So it’s the first useful thing built in rust for the Linux kernel?
And the out of context is “First useful thing built in rust (period)”?
Yes.
The poster finds it “kinda odd” that people don’t immediately correctly interpret statements like this toot as being exclusively about the upstream kernel: fosstodon.org/@kernellogger/111742009818641713
I find it “kinda odd” that he expects that to be a natural reading of the original toot.
Kind of deceptive wording. A considerable amount of code, that went into making the Apple M1 through M3 hardware work on Linux, is written in Rust, namely the graphical stack
Building a network driver is an excellent use case for the language.