this post was submitted on 14 Jan 2024
82 points (95.6% liked)

Rust

6013 readers
3 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
all 9 comments
sorted by: hot top controversial new old
[–] autokludge 24 points 10 months ago (2 children)

first useful thing built using Rust

wording is pretty funny here taken out of context.

[–] [email protected] 2 points 10 months ago (1 children)
[–] [email protected] 8 points 10 months ago (1 children)

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.

[–] [email protected] 3 points 10 months ago (1 children)

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 2 points 10 months ago
[–] BatmanAoD 2 points 10 months ago

The poster finds it "kinda odd" that people don't immediately correctly interpret statements like this toot as being exclusively about the upstream kernel: https://fosstodon.org/@kernellogger/111742009818641713

I find it "kinda odd" that he expects that to be a natural reading of the original toot.

[–] [email protected] 15 points 10 months ago

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

[–] [email protected] 1 points 10 months ago

Building a network driver is an excellent use case for the language.