193
submitted 20 hours ago by [email protected] to c/[email protected]

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.

top 25 comments
sorted by: hot top controversial new old
[-] [email protected] 10 points 6 hours ago* (last edited 6 hours ago)

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

[-] [email protected] 36 points 9 hours ago

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

[-] [email protected] 0 points 29 minutes ago

The things we take for granted are way too high.

[-] [email protected] 20 points 6 hours ago

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

[-] [email protected] 4 points 6 hours ago

It seems like you're missing a word

[-] [email protected] 48 points 14 hours ago

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

[-] [email protected] 81 points 12 hours ago
[-] [email protected] 14 points 8 hours ago

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

[-] [email protected] 4 points 11 hours ago

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

[-] [email protected] 94 points 18 hours ago

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. 😉

[-] [email protected] 7 points 9 hours ago

No, no. We're arguing for TypeScript

[-] [email protected] 1 points 1 hour ago

Not pure CSS?

[-] [email protected] 5 points 8 hours ago

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

[-] [email protected] 3 points 8 hours ago
[-] [email protected] 13 points 8 hours ago

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.

[-] [email protected] 2 points 7 hours ago* (last edited 7 hours ago)

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.

[-] [email protected] 35 points 15 hours ago

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.

[-] [email protected] 17 points 10 hours ago

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

[-] [email protected] 7 points 9 hours ago

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.

[-] [email protected] 20 points 18 hours ago* (last edited 18 hours ago)

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.

[-] [email protected] 8 points 16 hours ago

A JavaScript VM in the kernel is inevitable.

[-] [email protected] -1 points 8 hours ago

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.

[-] [email protected] 4 points 7 hours ago

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.

[-] [email protected] 1 points 14 hours ago

What a unique and special position to be in.

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

[-] [email protected] 3 points 7 hours ago

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

'it' being a handoff of ownership

this post was submitted on 21 Sep 2024
193 points (98.5% liked)

Linux

47371 readers
972 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS