News for hackers. Stuff that matters.
Re:The state of the kernel Rust experiment by uecker on Friday December 19, 2025 @07:23AM (#46325057)
Yes, but this is the marketing bullshit I am calling out. "Safe Rust" != "Rust" and it is not "Safe Rust" which is competing with C it is "Rust".
Re:The state of the kernel Rust experiment by simonask on Friday December 19, 2025 @07:36AM (#46325146)
This is just so obtuse. Be serious.

Even if you somehow manage to ignore the very obvious theoretical argument why it works, the amount of quantitative evidence at this point is staggering: Rust, including unsafe warts and all, substantially improve the ability of any competent team to deliver working software. By a huge margin.

This is the programming equivalent of vaccine denialism.

Re:The state of the kernel Rust experiment by uecker on Monday December 22, 2025 @03:23AM (#46352225)
There is a lot of science showing vaccines work. For Rust showing that it is better this is still lacking. And no Google's blog posts are not science.
Re:The state of the kernel Rust experiment by Daishiman on Tuesday December 23, 2025 @10:30AM (#46366101)
So kernel devs claiming Rust works isn't good enough? CloudFlare? Mozilla? Your're raising the bar to a place where no software will be good enough for you.
Re:The state of the kernel Rust experiment by ivanbakel on Friday December 19, 2025 @12:53PM (#46328755)
> it is not "Safe Rust" which is competing with C it is "Rust".

It is intended that Safe Rust be the main competitor to C. You are not meant to write your whole program in unsafe Rust using raw pointers - that would indicate a significant failure of Rust’s expressive power.

Its true that many Rust programs involve some element of unsafe Rust, but that unsafety is meant to be contained and abstracted, not pervasive throughout the program. That’s a significant difference from how C’s unsafety works.

Re:The state of the kernel Rust experiment by uecker on Monday December 22, 2025 @03:24AM (#46352233)
But there are more than 2000 uses of "unsafe" even in the tiny amount of Rust use in the Linux kernel. And you would need to compare to C code where an equally amount of effort was done to develop safe abstractions. So essentially this is part of the fallacy Rust marketing exploits: comparing an idealized "Safe Rust" scenario compared to real-word resource-constrained usage of C by overworked maintainers.
Re:The state of the kernel Rust experiment by Daishiman on Tuesday December 23, 2025 @11:21AM (#46366567)
The C code comparison exists because people have written DRM drivers in Rust that were of exceedengly high quality and safety compared to the C equivalents.