Linus Torvalds muses about maintainer gray hairs and the next 'King of Linux' (www.zdnet.com)
from captainkangaroo@discuss.tchncs.de to linux@lemmy.ml on 21 Sep 2024 03:10
https://discuss.tchncs.de/post/22369613

In a candid keynote chat at the Linux Foundation’s Open Source Summit Europe, Linux creator Linus Torvalds shared his thoughts on kernel development, the integration of Rust, and the future of open source.

#linux

threaded - newest

dohpaz42@lemmy.world on 21 Sep 2024 04:40 next collapse

People need to chill with the language fanaticism. It’s one thing to make jokes and rip on a language for its quirks, but at the end of the day it’s just a language. If you truly don’t like it, don’t use it. I’m going to take a stab and guess that there is enough Linux kernel source to go around to both the c devs and rust devs. Just be glad they’re not trying to rewrite it in JavaScript. 😉

EleventhHour@lemmy.world on 21 Sep 2024 05:02 next collapse

I agree.

I grew up in the age of c/c++ and then Java. I get it: people hate it and it’s time to move on, but jeez, folx, chill. It will happen in time, and there’s no reason to go all civil warsy about it.

Things like this should not be rushed.

InverseParallax@lemmy.world on 22 Sep 2024 18:55 collapse

Rust zealots are on an unstoppable jihad.

Expecting suicide fork bombers any day now.

vvv@programming.dev on 21 Sep 2024 07:12 next collapse

A JavaScript VM in the kernel is inevitable.

WalnutLum@lemmy.ml on 21 Sep 2024 07:51 next collapse

The problem is that the Linux kernel is monolithic so introducing rust into it does have certain repercussions about downstream compatibility between modules.

Right now the rust code in the kernel uses c bindings for some things and there’s a not-insignificant portion of C developers who both refuse to use rust and refuse to take responsibility if the code they write breaks something in the rust bindings.

If it was pure C there would be no excuse as the standard for Linux development is that you don’t break downstream, but the current zeitgeist is that Rust being a different language means that the current C developers have no responsibility if their code refactoring now breaks the rust code.

It’s a frankly ridiculous stance to take, considering the long history of Linux being very strict on not breaking downstream code.

that_leaflet@lemmy.world on 21 Sep 2024 13:09 next collapse

Rust developers are fine with C bindings changing, they just want that to be communicated to them by the C developers before they break.

HumanPenguin@feddit.uk on 21 Sep 2024 14:15 next collapse

A valid point. But the result is that over a pretty short period of time. These C developers will find delays in how quickly their code gets accepted into stable branches etc. So will be forced to make clear documentation into how the refactoring effects other elements calling the code. Or move on altogether.

Sorta advantageous to all and a necessary way to proceed when others are using your code.

InverseParallax@lemmy.world on 22 Sep 2024 18:53 collapse

Yeah sorry, c/c++ guy here.

I get that rust is the new shiny.

But now it means changing any potentially bound c function means I need to be fluent in a language I barely heard of before this year and has a syntax that makes c# look normal.

So, how about no?

HappyFrog@lemmy.blahaj.zone on 23 Sep 2024 11:34 next collapse

You just have to document your code. Nothing more.

superkret@feddit.org on 23 Sep 2024 20:45 collapse

No, you just have to talk to the people who are fluent in rust.

delirious_owl@discuss.online on 21 Sep 2024 13:59 next collapse

No, no. We’re arguing for TypeScript

dohpaz42@lemmy.world on 21 Sep 2024 15:09 next collapse

Typescript is always compiled down to JavaScript, so it’s kinda the same thing, but with “nicer” clothes.

delirious_owl@discuss.online on 21 Sep 2024 15:20 collapse

Same for C and Rust tho?

LeFantome@programming.dev on 21 Sep 2024 15:31 collapse

Rust does not compile down to C. It generates LLVM bytecode the same as Clang does. They both produce native executables. You do not need a C compiler on your system to run Rust binaries.

Typescript produces JavaScript. You need a JavaScript interpreter to execute the output from TypeScript.

Not the same thing.

dohpaz42@lemmy.world on 21 Sep 2024 15:52 collapse

In before the pedants: clang is a c compiler, in that it compiles c code—but it also compiles other languages too. The distinction is that c, c++, rust, etc are compiled directly into byte code , whereas typescript is transpiled into another language (JavaScript) before it is executed. I’ll probably catch heat for this, but you can liken TypeScript to C++ because they both are supersets of another language.

JackbyDev@programming.dev on 22 Sep 2024 00:02 collapse

C++ is actually not a superset of C, believe it or not.

dohpaz42@lemmy.world on 22 Sep 2024 00:21 collapse

I’ll admit I’m no c/c++ aficionado, but after a little research I see what you mean. Originally, C++ was a superset of C, but C has since diverged to include things that are not in C++. So we are both correct.

phoenixz@lemmy.ca on 21 Sep 2024 22:12 collapse

Not pure CSS?

bouh@lemmy.world on 21 Sep 2024 15:14 collapse

No, a language is not just a language. I fact, it’s a bunch of compilers. How many there are and the hardware they work on is what matters.

And as a matter of fact, rust isn’t as much of an industry standard as C++ is.

dohpaz42@lemmy.world on 21 Sep 2024 15:43 collapse

I feel you’ve missed my entire point. My comment was not based on any technical merits of a language. It’s about a persons personal (religious) view of a tool they use to do their job.

I proudly use PHP, JavaScript, Java, Bash, and SQL. They have given me the means to make a long and fruitful 18+ year career. If my boss walked up to me tomorrow and said I needed to learn Python, or Rust, or even brainfuck, I’d learn it and be better for it.

Would it be as easy as my tried and true toolset? Not at first. I still remember the struggles I had when I was first learning my current toolset. It was frustrating. I remember cursing how stupid this or that was (especially PHP and JavaScript). But I learned, and now they’re not as frustrating — because I work with it, and not against it.

Look at JavaScript. Yeah it’s weird sometimes; if you don’t understand how it works. So people slap these transpiled languages or frameworks (like CoffeeScript or TypeScript or whatever) on top, trying to fix the things they think are wrong with JavaScript, and end up making a chaotic mess of the entire community. (And yes we could spend months arguing pros and cons of any merits of transpires and frameworks and why and what not, but then you’re still missing the point).

Anyway, the point is: if it works, then it’s good. Rust does not make Linux worse. If anything, it makes it better because it makes it more accessible to programmers who know Rust but not C. And that’s a good thing. It ensures the Linux kernel will be around longer than whomever ends up being the last C developer.

Those C developers bitching about how they don’t like the idea of rust in their kernel are akin to those old fogies yelling about those damned kids and their loud music or fashion sense.

Sbauer@lemmy.world on 22 Sep 2024 10:03 collapse

Anyway, the point is: if it works, then it’s good. Rust does not make Linux worse. If anything, it makes it better because it makes it more accessible to programmers who know Rust but not C. And that’s a good thing. It ensures the Linux kernel will be around longer than whomever ends up being the last C developer.

Nobody is going to rewrite the entire kernel in rust. Parts of it are still written in assembler. It’s well over 30 million lines of code, 60% of it drivers. You can’t just go and rewrite that in a different language, hell it doesn’t even compile on the wrong C compiler version. You would need access to the hardware and run tests for every module you change at least or risk breaking stuff in production.

C programmers will always be around since they are necessary to keep the old code running on newer hardware. There are thousands of companies relying on the Linux and BSD kernels, for example every network router, switch etc.

I have nothing against rust, but there is always a danger of having too many programming languages used in the same project, especially if a error in one language can break something in a module written in the other. That’s just a nasty complication, especially for a time critical project like the kernel.

PushButton@lemmy.world on 21 Sep 2024 08:55 next collapse

We will miss the days Linus was maintaining the Kernel… Who is going to write those poetic emails we all love?

loutr@sh.itjust.works on 21 Sep 2024 11:00 next collapse

<img alt="" src="https://sh.itjust.works/pictrs/image/e01eacd4-09a7-40aa-950a-a911205ffa1c.png">

dohpaz42@lemmy.world on 21 Sep 2024 15:10 next collapse

This quote applies to so many situations and so many languages. It’s beautiful. 🧑‍🍳 💋

laurelraven@lemmy.zip on 22 Sep 2024 01:11 collapse

I legit kind of want to make a print of it for my office

InverseParallax@lemmy.world on 22 Sep 2024 18:48 collapse

Wtf man, I never even pushed that shit upstream!?

loutr@sh.itjust.works on 23 Sep 2024 07:16 collapse

That’s because he planted a backdoor into GIT, and now he reviews your bad commits every night.

galoisghost@aussie.zone on 21 Sep 2024 12:09 collapse

The “AI” that the new maintainer bakes into the kernel

paraphrand@lemmy.world on 21 Sep 2024 09:03 next collapse

What a unique and special position to be in.

It’s not common, and not likely to happen again.

vatlark@lemmy.world on 21 Sep 2024 16:09 collapse

Well if it doesn’t happen again, that means Linux isn’t doing well.

‘it’ being a handoff of ownership

christian@lemmy.ml on 21 Sep 2024 14:31 next collapse

Man I’ve never really thought about how much having the wrong successor could fuck up the whole ecosystem.

jayandp@sh.itjust.works on 21 Sep 2024 16:33 next collapse

I’m wondering the same thing for Valve and Gabe Newell.

sibachian@lemmy.ml on 22 Sep 2024 11:23 next collapse

definitely the case for Valve. Corporate vultures will be all over it the second he’s gone.

CrabAndBroom@lemmy.ml on 23 Sep 2024 14:57 collapse

If they both decide to step down around the same time, that’s going to be wild few years.

qaz@lemmy.world on 21 Sep 2024 16:51 next collapse

It seems like you’re missing a word

nephs@lemmygrad.ml on 21 Sep 2024 17:29 next collapse

They apparently have accidentally the whole thing.

christian@lemmy.ml on 22 Sep 2024 04:23 collapse

I have tracked down the missing word and returned it to its rightful place. Better late than never.

Pilferjinx@lemmy.world on 21 Sep 2024 23:03 collapse

The things we take for granted are way too high.

MigratingtoLemmy@lemmy.world on 21 Sep 2024 16:51 next collapse

I would like for these people to never retire but we must all accept change as they come from father time

penquin@lemm.ee on 22 Sep 2024 00:12 collapse

Where is that damn fountain of life when you need it?

bilb@lem.monster on 22 Sep 2024 01:52 next collapse

I will be the next King of Linux.

werefreeatlast@lemmy.world on 22 Sep 2024 04:19 next collapse

I love that his desk is messy like mine and that he gets pissed at bad code.

vrighter@discuss.tchncs.de on 22 Sep 2024 04:27 next collapse

with his death and the huge focus on trying to protect me from myself, I can see linux becoming even more restrictive than android. He’s one of the few sane ones left.

Abnorc@lemm.ee on 22 Sep 2024 16:54 next collapse

I hope not. I’m not ready for the year of the BSD desktop.

CrabAndBroom@lemmy.ml on 23 Sep 2024 14:56 collapse

I have a feeling it might go the other way, IE when he retires or whatever, everyone’s going to want to be the “next Linus” and we’ll end up with tons of different forks of kernels all following their own philosophy of what they think Linux should be.

crowbar@lemm.ee on 22 Sep 2024 05:12 next collapse

He should make a tim burton’s charlie and the chocolate factory style of test to find his successor

Hexadecimalkink@lemmy.ml on 22 Sep 2024 10:15 collapse

Who are the oompa loompas in this?

whoisearth@lemmy.ca on 22 Sep 2024 10:34 collapse

Furries

Lightfire228@pawb.social on 22 Sep 2024 17:06 collapse

You called?

mlg@lemmy.world on 22 Sep 2024 17:33 collapse

People fear the same thing about Valve.

One wrong person and we could all end up in the same money milk machine as EA.

I know people complain about Linus hurling insults at merge requests, but his rigidness is what keeps the kernel viable. If it weren’t for him, google would have already shit all over it with a mega fork and essentially cornered the market like they did with Android and HTTP3.

Both are technically “open source”, yet Google essentially dictates what they want or need for their economic purpose, like ignoring JPEGXL, forcing AVIF, making browsers bloaty, using manifestv3, etc. Android is even worse and may as well be considered separate from Linux because it’s just google’s walled garden running on the linux kernel.

He is open to new technology, but he understands the fundamental effects of design choices and will fight people over it to prevent the project from fracturing due to feature breaking changes, especially involving userspace.