Linus Torvalds Speaks on the the divide between Rust and C Linux developers an the future Linux. Will things like fragmentation among the open source community hurt the Linux Kernel? We’ll listen to the Creator of Linux.
For the full key note, checkout: Keynote: Linus Torvalds in Conversation with Dirk Hohndel
The Register’s summary: Torvalds weighs in on ‘nasty’ Rust vs C for Linux debate
I don’t want to watch a video about it.
I’d like to know it, but a couple of sentences wouldn’t have hurt
FWIW, it’s a 9 min video and doesn’t contain anything earth shattering or easily summarized. Basically there is some friction between C and Rust devs, and Linus doesn’t think that it’s such a bad thing (there has be interesting discussion) and it’s way too early to call Rust in the kernel a failure.
I took notes for the benefit of anyone who doesn’t like their info in video form. My attempt to summarize what Linus says:
He enjoys the arguments, it’s nice that Rust has livened up the discussion. It shows that people care.
It’s more contentious than it should be sometimes with religious overtones reminiscent of vi versus emacs. Some like it, some don’t, and that’s okay.
Too early to see if Rust in the kernel ultimately fails or succeeds, that will take time, but he’s optimistic about it.
The kernel is not normal C. They use tools that enforce rules that are not part of the language, including memory safety infrastructure. This has been incrementally added over a long time, which is what allowed people to do it without the kind of outcry that the Rust efforts produce by trying to change things more quickly.
There aren’t many languages that can deal with system issues, so unless you want to use assembler it’s going to be C, C-like, or Rust. So probably there will be some systems other than Linux that do use Rust.
If you make your own he’s looking forward to seeing it.
Good human.
This is a great summary. Thanks!
Thank you for the summary!
So probably there will be some systems other than Linux that do use Rust
There’s one called Redox that is entirely written in Rust. Still in fairly early stages, though. https://www.redox-os.org/
So probably there will be some systems other than Linux that do use Rust.
Isn’t there Redox OS?
Edit: yes, it’s still alive and kicking.
I took notes for the benefit of anyone who doesn’t like their info in video form.
I love you.
Doing the lord’s work, thank you.
On a tangential note, what does Linus used, Vi or Emacs?
C, C-like, or Rust
As always, Ada gets no respect.
Start the linuxa or alinux project and off you trot. Find a better name than I did here and you’ll be fine.
You can’t improve and break silence without discussing and making changes. The existing maintainers won’t live forever, having Rust in the Kernel is a bet on the future. Linus wouldn’t have adopted and accepted Rust, if he wasn’t thinking its worth it. And looks like it was already worth it.