this post was submitted on 09 Dec 2023
243 points (98.8% liked)

Linux

48372 readers
1633 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
 

At Open Source Summit Japan, Linux and Git creator Linus Torvalds talked about Rust in Linux, Linux maintainer fatigue, and AI's future role in Linux and open-source development.

all 44 comments
sorted by: hot top controversial new old
[–] [email protected] 84 points 11 months ago (1 children)

Looking ahead, Hohndel said, we must talk about "artificial intelligence large language models (LLM). I typically say artificial intelligence is autocorrect on steroids. Because all a large language model does is it predicts what's the most likely next word that you're going to use, and then it extrapolates from there, so not really very intelligent, but obviously, the impact that it has on our lives and the reality we live in is significant.

Exactly.

[–] [email protected] 54 points 11 months ago* (last edited 11 months ago) (2 children)

I would have liked for Linus to maintain his angry-man-finger-thrusting self against evil corporates like Nvidia. I suppose I'm asking for too much, but his mild-mannerisms towards developers is a welcome change. Towards such corporates though, not so much. I would have liked some more motivated cursing against Intel and Nvidia and IBM. Oh well.

Other than that (which is a minor gripe from me at the most), touching message from Linus. Indeed, the maintainers are graying, and the current generation isn't that interested in kernel programming. I'm sure there will be talent around (as long as the big companies need Linux to run their servers, I'm sure someone will turn up), but someone to rise to the helm with a fiery approach to openness is very important to my heart. I don't think we will ever see another Linus in our lifetime, and I will personally grieve the day Linus and his core set of maintainers pass away.

I am not a programmer, and the best I can do is provide some funding to people who can/would engage directly with the kernel. But if the situation becomes so dire, I too will get my hands dirty, if nothing but to help the cause. Long live FOSS!

[–] [email protected] 43 points 11 months ago (2 children)

Linus was himself a major contributor to making people steer well clear of wanting to work on the Linux kernel. I didn't need that kind of abuse in my life.

So while he is identifying a problem, it's a bit like a recovering arsonist homeowner bemoaning the scorch marks on his house.

[–] [email protected] 10 points 11 months ago

As I said, his change in behaviour towards fellow developers is a welcome change. There's no doubt about that.

I just wish he would continue to rage against companies up to no good, especially for FOSS. I never want him to get mild with Nvidia, and I want him to praise AMD a bit (they deserve it, and his opinion holds value).

[–] [email protected] -5 points 11 months ago

So you want a fool to validate your insipid worldviews.

[–] [email protected] 34 points 11 months ago (2 children)

After he got a handle on it, Torvalds returned to the kernel. He's been much more mild-tempered since then. As he mentioned in Tokyo, he won't be "giving some company the finger. I learned my lesson."

This is probably a good thing.

Looking ahead, Hohndel said, we must talk about "artificial intelligence large language models (LLM). I typically say artificial intelligence is autocorrect on steroids. Because all a large language model does is it predicts what's the most likely next word that you're going to use, and then it extrapolates from there, so not really very intelligent, but obviously, the impact that it has on our lives and the reality we live in is significant. Do you think we will see LLM written code that is submitted to you?"

Torvalds replied, "I'm convinced it's gonna happen. And it may well be happening already, maybe on a smaller scale where people use it more to help write code." But, unlike many people, Torvalds isn't too worried about AI. "It's clearly something where automation has always helped people write code. This is not anything new at all."

Indeed, Torvalds hopes that AI might really help by being able "to find the obvious stupid bugs because a lot of the bugs I see are not subtle bugs. Many of them are just stupid bugs, and you don't need any kind of higher intelligence to find them. But having tools that warn more subtle cases where, for example, it may just say 'this pattern does not look like the regular pattern. Are you sure this is what you need?' And the answer may be 'No, that was not at all what I meant. You found an obvious bag. Thank you very much.' We actually need autocorrects on steroids. I see AI as a tool that can help us be better at what we do."

But, "What about hallucinations?," asked Hohndel. Torvalds, who will never stop being a little snarky, said, "I see the bugs that happen without AI every day. So that's why I'm not so worried. I think we're doing just fine at making mistakes on our own."

There were no questions about whether maintainers would start utilizing LLMs. The questions were focused on how maintainers would respond to LLM-generated (or -assisted) patches being submitted to them. This attitude seems perfectly reasonable to me, but it would have been more interesting to ask questions about whether maintainers would start using LLMs in their work. Torvalds might have responded with a more interesting answer.

[–] [email protected] 24 points 11 months ago (4 children)

That said, Torvalds continued, "Rust has not really shown itself as the next great big thing. But I think during next year, we'll actually be starting to integrate drivers and some even major subsystems that are starting to use it actively. So it's one of those things that is going to take years before it's a big part of the kernel. But it's certainly shaping up to be one of those."

I don't know about that, languages which are based on standards (c++ , javascript, c) seem to have much better enduring popularity, i don't want to see rust becoming less and less popular which will lead to less available developers (like what is happening with ruby).

[–] [email protected] 10 points 11 months ago (1 children)
[–] [email protected] 1 points 11 months ago

I assumed that he was talking about the fact the the languages he listed have a lot of syntax in common with each other, and with a few other languages. I could be wrong though

[–] [email protected] 7 points 11 months ago (1 children)

I too can't wait to compile the kernel (and its modules) on cargo.

[–] [email protected] 7 points 11 months ago

I'll prep my supercomputer.

[–] [email protected] 3 points 11 months ago (1 children)

Speaking as a non Rustacean, I'm pretty okay with it becoming more integrated.

It's safe, performant, and isn't any more difficult to pick up than C++. C has a weird aura about it that makes it seem intimidating despite the fact that it is the simplest language (macros notwithstanding) that I've ever used.

Based on Google's recent track record of mind-boggling incompetence on all fronts, I want Go kept as far away from core functionality as humanly possible. This leaves either adding more cruft to an already ungainly C++, continuing to use Boost (another Google product) with C, or to pivot to a more modern language.

[–] [email protected] 3 points 11 months ago (1 children)

Agreed re: Google.
I dunno what the solution is. The world without Google is going to be a very different place. Do you think it's even possible for them to turn things around?

[–] [email protected] 2 points 11 months ago (1 children)

I think it would take a pretty major sea change for them. They technically split up into Alphabet, but I don't know of a single person that actually uses that when describing them.

Even if they did change things around, and I would wager that the entrenched bureaucracy will make that impossible, their name is toxic to a lot of tech nerds. We may be a minority, but we talk and people listen. Even the non techies in my life know that they can't maintain a simple messaging app, responded to (rightful!) concerns about data loss by locking the support threads, and has jacked up the price of YouTube on a yearly basis.

They've spectacularly failed at video game consoles, social media, banking/credit cards, IOT, messaging, video, and can't even maintain a semblance of consistency in their office suite. At work I have three different ways to receive instant messages, and it's a crapshoot as to which one a coworker will use.

And let's not even get into how absolutely useless their search is now that everything has been gamed by SEO. Duckduckgo has been my default for years, but now it's consistently returning better results than big G.

If they managed to correct course tomorrow, it would take multiple years for me to even begin to trust them again.

[–] [email protected] 1 points 11 months ago

Yeah. Extremely unlikely and probably impossible.
It's incredible how very much they have been able to fail but still continue operating.

[–] [email protected] 0 points 11 months ago (1 children)

Yeah… rust in the kernel scares me. Lol they are already worried about not having enough contributors, so…?

[–] [email protected] 20 points 11 months ago

they = rust or the linux kernel?

The linux kernel doesn't have enough contributors because it's really difficult + the entire organisational side of it works on antique tech (IRC and mailinglists). The majority of the project itself is also in C which has a horrible developer experience: linting, documentation, debugging, code completion, and the lack of a proper IDE. The entire development cycle is convoluted. How do you seriously want to attract people to the project if everything looks like it's still in a development cycle of the 90s?

If I were to discover a one-line bug in the kernel by reading it, actually testing the one-line fix would take me, as a newbie probably a solid week. Getting it into the kernel itself would probably take even longer.

The kernel is also known for Linus' outbursts and being filled with neckbeard elitists. The project in my eyes has an image problem.

As for rust, if that's what you meant, I'd be interested in knowing the source for not having enough contributors.

[–] [email protected] 1 points 11 months ago (2 children)

If that means an AI-assistant of sorts (like "that OS name that cannot be spoketh") I'm game.

Will that make some users freak out and make it sound like its doomsday, even if they implement a on/off toggle to the AI assistant? Probably.

[–] [email protected] 25 points 11 months ago (1 children)

An AI assistant has nothing to do with the kernel and will never be in it.

It's something for user space and can be done already. This is for the distro maintainers to decide.

[–] [email protected] 4 points 11 months ago (1 children)

What if AI will start contributing to the kernel end ends including AI there?

[–] [email protected] 2 points 11 months ago

Then it's over. We can tear it all down and start new.

[–] [email protected] 10 points 11 months ago

The Linux Foundation and Kernel devs don't really deal with the OS layer much. This is something that would need to be implemented at the desktop environment level; like GNOME or KDE. Neither LF nor Linus Torvalds has any say over that.