Skip to content
0:00 / 0:00

#linux#abi#glibc

Linus Torvalds on why desktop Linux sucks

gentooman

2.9K subscribers • 1 video on Hallway

YouTube
  • Recommended by 6 people: 5 on Hacker News and 1 on Lobsters.
  • Presented by Linus Torvalds, creator of Linux
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

2.2M views5 years ago6 recommendations

Systems programmingTools and practiceOperating systemsLinuxOpen source

Linus Torvalds explains the difficulties of application distribution on Linux, criticizing distributions for breaking backwards compatibility and ABI stability.

Linus highlights several pain points with regards to desktop Linux. From DebConf 14 youtube.com/watch?v=5PmHRSeA2c8 Application distribution is a huge PITA Distros break things and ignore backwards compat. Distros waste too much effort on package management Linus roasts his own package maintainer Windows has a better app distribution experience Linux distros expect users to compile everything

Why it's here

6 people recommend this

What people say. Recommended as a classic explanation of the packaging and ABI challenges that hold back desktop Linux.

vermadenon Lobsters • Recommends

Linus Torvalds on Why Desktop Linux Sucks (2014)

cogman10on Hacker News • Recommends

On “Rust Is a Wave of the Future”

I think Linus really hits the nail on the head here. It's the fact that core libs, like glibc, are CONSTANTLY changing their ABI making it damn near impossible to ship a binary from one version of the platform to the next link to this video . You can still run windows 95 apps in windows 10. But running a ubuntu 12.04 binary in ubuntu 21.04? No way.

mumblemumbleon Hacker News • Recommends

On “Are we GUI Yet? The state of building user interfaces in Rust”

Linus recently said something that left me thinking that Linux on the desktop has much deeper problems that need to be addressed before it's worth even thinking about the fine details of GUI toolkits. link to this video

KiranRao0on Hacker News • Recommends

On “AMD and Valve Working on New Linux CPU Performance Scaling Design”

I remember a Linus Torvalds video on this exact problem. I found it both blunt at insightful: Linus Torvalds on why desktop Linux sucks : link to this video

jiggawattson Hacker News • Recommends

On “Flatpak Is Not the Future”

I watched a great rant by Linus T himself on how distributing code for Linux is a "pain in the arse", but is comparatively easier on Windows and MacOS: link to this video Something I took away from that is that it is Linus himself, personally, that is responsible (in a way) for Docker existing. Docker depends on the stable kernel ABI in order to allow container images to be portable and "just work" stably and reliably. This is a "guarantee" that Linus gets shouty about if the kernel devs break it. Docker fills a need on Linux because the user-mode libraries across all distributions are a total mess. Microsoft is trying to be the "hip kid" by copying Docker into Windows, where everything is backwards to…

Gareth321on Hacker News • Recommends

On “After 30 Years, Linux Finally Hits 3% Market Share”

…Honestly, I would like Linux fans to just accept Linux for what it is: an amazing kernel with incredible GUIs built by and for developers. App developers just do not care about (or do not have the resources for) making simple and intuitive software. Valve is a welcome and notable exception with the Steam Deck. Linus Torvalds explains it perfectly: link to this video…

aruncon Hacker News • Mentions

On “Linux and Glibc API Changes”

glibc breaks ABI quite often. Linus has roasted about it openly in the past link to this video Notable quote from that: If there's a bug that people rely on, it's not a bug, it's a feature.

eddiehon Hacker News • Mentions

On “Flatpak – A Security Nightmare”

Okay I had to look up what Flatpak was since the link doesn't begin with a summary, abstract, thesis statement, or overview of whatever the subject is. Would it be so hard to start with "Flatpak, a cross distribution package format 1 for distributing Linux applications, is a security nightmare. We'll outline some flaws we believe to be deal breakers"? On the other hand, this seems like an attempt to fix application packaging on Linux which is something Linus has, rightly, complained about very publicly 2. 1 I don't know what to call it exactly, is it a package format or a package manager? Could be something else entirely, I'm not sure. 2 link to this video

dcodeon Hacker News • Mentions

On “An Urgent Notice from AssemblyScript”

This is common indeed, and isn't a bug in the affected source languages for reasons. How it displays when printed is irrelevant. Here's Linus Torvalds explaining it better than I could: link to this video And sure you can transfer your string that someone else does not consider a string using alternative mechanisms, but then you are only not doing anything wrong because you are not doing it at all for entire categories of languages. There is no integration story for these, and once one mixes with optimizations like compact strings or has multiple encodings under the hood one cannot statically annotate the appropriate type anyhow. And sadly, adapter functions won't help as well when the fundamental 'cha…

mmplxxon Hacker News • Mentions

On “Perhaps WSL2 Should Be a Wake-Up Call”

The first sentence is probably true. The third one is objectively false: 1. Poor quality drivers. The money is not there. Intel and AMD might throw a couple of engineers on it but the process is always catching-up: slow and incomplete. Think of video, audio, power management, etc. I recently bought an AMD laptop just to discover modern standby and my jack headset are not supported, that my internal mic and speakers occasionally stop working and otherwise are too low, etc. After two kernel releases all these problems persist, even if they were acknowledged by the developers that are working on it (very resource-constrained). "Linux-ready" laptops might be a safer option but in general they ar…

badsectoraculaon Hacker News • Mentions

On “System76: A Case Study on How Not to Collaborate with Upstream”

> Right, if you want Win32 API ... Okay but which updates ... Ok these are real things to ask for, that someone could feasibly attempt to do. These are examples . I'm not asking to use Win32 or add updates to Gtk1 or Gtk2. The important part is keeping ABI and API stability. Also i refer to what i'd like to see in a hypothetical library that did things right, not the current ones that either keep doing everything wrong (Gtk) or even if they wanted they can't due to the tech they're based on (Qt, though chances are even Qt could stay API and ABI compatible they wouldn't because they're primary middleware for paying corporations and only secondary a platform library that happened by chance…

francislavoieon Hacker News • Mentions

On “Lazygit: A simple terminal UI for Git commands”

Linus Torvalds about this: link to this video Distros (Debian in particular comes to mind) have some really annoying packaging rules, and as a maintainer of a Go program, it's a huge pain, so we decided to just set up a repo with link instead of trying to deal with that. They require every dependency (indirect or not) to be packaged separately. We don't have the time for that. Way simpler to just build a static binary and ship it.

Flankkon Hacker News • Mentions

On “Farewell, Elementary”

Linus Torvalds also has many criticisms of the Linux desktop.1 None of the commercial applications I have bought will run on Linux without wasting time tinkering. For programming, I'm forced to use Xcode because it's required on the App Store. I couldn't use Linux even if I did want to use something worse than macOS. 1 link to this video

jiggawattson Hacker News • Mentions

On “Kubernetes reinvented virtual machines in a good sense”

> What does distributions have to do with need for containers? A lot (but not everything). It's important to recognise where the "stable API/ABI boundaries" are. In Linux, the stable boundary is the kernel. Userspace is unstable. There are many distributions, with many small and big differences. Different C runtimes, different folder structures, different configs, modules, etc... In Windows, the stable boundary is the Win32, COM, and .NET APIs, which are in user space. The kernel boundary is not stable1 however, which also matters. Even Linus Torvalds has trouble distributing his hobby dive-computer software to Linux!2 He has no issues with MacOS and Windows, because they have stable API…

haunteron Hacker News • Mentions

On “Valve Is Paying Open-Source Developers to Work on Proton, Mesa, and More”

Linus at DebConf 2014 link to this video >I’m on a record saying, that maybe Valve will actually save the Linux desktop. And it’s actually not because I think games are important! I don't care, I don't play games. I think some people do, so games maybe important. But the really important issue is I guarantee you Valve will not make 15 different binaries. And I also guarantee you that every single desktop distribution will care about Valve binaries. The problem is Valve though build everything statically linked and it creates huge binaries. And that's kind of sad but that's what you have to do right now.

fancl20on Hacker News • Mentions

On “Scaling Rust Builds with Bazel”

I guess because package managers (apt, nix, ..) build around the idea of shared libraries, while bazel assume statically built. TBH it’s hard to say which operate model is better anyway. They are simply incompatible :) Related topic: link to this video