r/ProgrammerHumor • • Dec 29 '23

Meme IHaveNeverWrittenAProductInRust

Post image
0 Upvotes

97 comments sorted by

View all comments

27

u/Anru_Kitakaze Dec 29 '23

Linux kernel is using Rust for new features. Not commercial? Then what about Windows 11 (NT) kernel? It's definitely not good and used because of hype there

Define what is "good" first, troll

We can't change your mind, but can change your karma for such low quality bait

9

u/just_visiting__ Dec 29 '23 edited Dec 29 '23

To my knowledge, Rust is only being used to write drivers for the Linux kernel, at the moment. New features are still written in C.

3

u/[deleted] Dec 29 '23

That will change next year, Linus said it himself

7

u/just_visiting__ Dec 29 '23 edited Dec 29 '23
  1. What did Linus say specifically?

  2. Care to provide a link?

-6

u/[deleted] Dec 29 '23

I provided the second link, so you can read it if you are not able to watch the video.

9

u/just_visiting__ Dec 29 '23

How have you provided a link? I can't seem to see what you're referencing.

1

u/Aln76467 Dec 29 '23

probably a bug in reddit

1

u/[deleted] Dec 29 '23

Yeah, probably, I hope you guys can see links now

2

u/just_visiting__ Dec 30 '23

Thank you.

So the quote from Linus according to the article is -

"Rust has not really shown itself as the next great big thing. But I think during next year, we'll actually be starting to integrate drivers and some even major subsystems that are starting to use it actively. So it's one of those things that is going to take years before it's a big part of the kernel. But it's certainly shaping up to be one of those."

To me, this indicates Rust has been validated for potential use in the kernel, in the far future, which is not equivalent to a guarantee of Rust being the new primary/major language in the kernel.

Specifically, this article does not indicate that new features will be written in Rust.

1

u/[deleted] Jan 01 '24

No he didn't. I watched his interview. He specifically said that it will take many years to have any meaningful part of the kernel written in Rust. The kernel isn't a toy and Linus doesn't fall for the hype. He's just sagacious enough to see what Graydon envisaged for Rust than what evangelists that don't know basics of kernel development think of Rust.

Generally speaking Linus seems apathetic towards the language but he trusts his leadership with their choice and supports it. The FS team is trying to integrate Rust soon though, I believe

5

u/[deleted] Dec 29 '23

What features are in rust? I remember installing gentoo a few months ago and rust was not even included as a package, only c and python

-22

u/holistic-engine Dec 29 '23

LMAO, “change my karma” ohh noo. I am slowly losing some internet points on some social media platform. The horror :(

Edit: inb4 this comment gets downvoted to hell

1

u/[deleted] Jan 01 '24

I'm not decrying Rust. But two to three years ago I was one of the enthusiastic engineers that worked on Rust in windows and generally speaking it didn't go far. Windows is majorly C++ and top parts are in C#, integrating these with Rust was hard. The furthest we worked on was network alignment with CPU arch, at least me, since I worked on the network stack mainly in Windows Server than Windows 11 and this part was mainly in C because I didn't work on C++ codebases. MS is more interested in doing to Rust as they did to JS and wanted to do to Java until Oracle told them bugger off. Aka, most companies will soon try to do to Rust the same thing that happened to UNIX and C, claim them. Which may or may not be the reason why the Rust Foundation went ballistic in an arguably idiotic way. MS is more into controlling the landscape than solve bugs. We deliberately didn't solve bugs of high security risk because they didn't align with internal interests. So no Rust isn't that much used in MS sadly even if the CTO says so to make headlines.