Hacker News new | ask | show | jobs
by kalekold 498 days ago
> This is NOT because I hate Rust. While not my favourite language it's definitively one of the best new ones and I encourage people to use it for new projects where it fits. I do not want it anywhere near a huge C code base that I need to maintain.

Seems pretty clear cut to me.

Why do rust developers demand everything be re-written in their language? Especially one of the longest running, largest and most successful C projects of all time? It was never going to work out.

There are a few brand new operating systems being developed in rust, why not contribute to them instead?

1 comments

> Why do rust developers demand everything be re-written in their language?

I'm pretty sure Torvalds is the one who decided to add Rust to the Linux kernel.

> I was expecting updates to be faster, but part of the problem is that old-time kernel developers are used to C and don't know Rust. They're not exactly excited about having to learn a new language that is, in some respects, very different. So there's been some pushback on Rust. - Linus Torvalds https://www.zdnet.com/article/linus-torvalds-talks-ai-rust-a...

> I'm pretty sure Torvalds is the one who decided to add Rust to the Linux kernel.

No it really wasn't. He just said let's see how it goes when the rust devs proposed it.

Torvalds likes Rust and believes it to be the future. He is disappointed that it hasn't been adopted faster.

> I actually was hoping that we'd get some of the first rust infrastructure, and the multi-gen LRU VM, but neither of them happened this time around.

https://lwn.net/Articles/904681/

Torvalds is ambivalent to rust he just wanted to see if it worked out.

If we're appealing to authority here's his response a few weeks after the mail you posted:

https://lkml.org/lkml/2022/9/19/1105#1105.php

Reading that thread, Hellwig is not against Rust for Linux, but rather against using it in core systems. He's okay with it in e.g. drivers.

The notion of "Linus accepted Rust in kernel, therefore it can be used everywhere" is a major point of conflict.

Also note the interview you linked continues with "Another reason has been the Rust infrastructure itself has not been super stable".