2021: Year of the Linux Gaming Desktop - Andrew Kelley
Zig SHOWTIMERecommended by 2 HN commenters across 2 months, 2021–2024
talk · advanced · evergreen · 2021–2024 on HN
Andrew Kelley's Zig SHOWTIME talk on an experiment to ship static Linux executables that can do graphics and gaming, followed by an interview. It covers the problems of Linux binary stability, dynamic linking and the graphics ABI.
HN cites it in threads on Linux desktop application distribution as a clear treatment of why binary compatibility and static linking are hard.
Up next
8 mo on HNDiffie-Hellman Key Exchange
Art of the Problem
Recommended 9× on HN · 2016–2024
14 mo on HNThe Tragedy of systemd
linux.conf.au
Recommended 16× on HN · 2019–2025
10 mo on HNThe Real Story Behind Wayland and X - Daniel Stone (linux.conf.au 2013)
Mladen Mijatov
Recommended 13× on HN · 2013–2026
9 mo on HNLISA11 - Fork Yeah! The Rise and Development of illumos
USENIX
Recommended 9× on HN · 2012–2026
8 mo on HNTech Talk: Linus Torvalds on git
Google
Recommended 9× on HN · 2007–2023
7 mo on HNDebConf 14: QA with Linus Torvalds
Adnan Hodzic
Recommended 7× on HN · 2014–2021
6 mo on HNGtk to Qt - a strange journey [linux.conf.au 2014]
Konstantin Bläsi
Recommended 5× on HN · 2014–2024
6 mo on HNUser-level threads....... with threads. - Paul Turner - Google
Linux Plumbers Conference
Recommended 6× on HN · 2013–2024
5 mo on HNUsing a 1930 Teletype as a Linux Terminal
CuriousMarc
Recommended 4× on HN · 2020–2025
5 mo on HNHow I Designed a Free Music Font for 5 Million Musicians (MuseScore 3.6)
Tantacrul
Recommended 5× on HN · 2021–2024
5 mo on HNNSA operation ORCHESTRA: Annual Status Report
HUP
Recommended 9× on HN · 2014–2019
4 mo on HNThe real story behind Wayland and X
Linux.conf.au 2013 -- Canberra, Australia
Recommended 4× on HN · 2018–2024
5 comments from Hacker News
That mesa issue reminded me of wayland issue thats been open for 3 years now where apps crash if theres even a slight stall due to the wayland socket becoming full. Instead of providing quick fix for actual app devs and users who are affected most, they have been designing this perfect solution for apps and compositor to agree on the socket size for 3 years now. Its similar crap with the server size decorations where they finally had to admit people want them and merged the protocol but don't implement it in gnome compositor :) I'd say wayland really was barebones when it was being pushed and major contributions to actually get it usable on desktop was from outsiders. I'd say win32/flatpak/libretro are the only sane way for games to target linux right now. The fact that linux doesn't have real "runtime" and major components required by games link against libc is what makes linux really unstable for anything that needs to open window, draw stuff using GPU and play audio. It's possible to create static binaries for linux that work for eternity, thanks to kernel being actually stable. But link against something in /usr/lib and it all goes to hell. If the GPU drivers and libs that provided basic window / audio did not depend on libc and were standalone, the situation would be much better. Here's good video about this problem space btw ▶ this video
Andrew Kelley makes an interesting point in: ▶ this video about the PT_INTERP being hard-coded. That seems like a long ago assumption baked that binaries should only have one program interpreter per system. I don't know enough about configuring a system and the historical decisions around PT_INTERP, but I suspect Andrew is on to something.
> Linux is not an operating system It is though. Go ahead and find me any distribution of Linux on which this binary of the Zig compiler does not work: link You can't, because it's a static executable whose only runtime dependencies are a file system. And if kernel devs would bless us with a stable graphics ABI, then we could do this for games, too. Unfortunately, the way drivers work currently relies on dynamic linking in a way that drags in a dependency on differences in distributions, which is completely unnecessary and maddening. Related: ▶ this video P.S. Just bought my wife a steam deck for christmas and she loves it.
My interest is not in using this text editor as a consumer, but in guiding software development culture in general, particularly when it comes to installation of Linux applications. Some talks I have given on this topic: ▶ this video link So, I think "entitled" is the wrong insult. "arrogant" would be more accurate.
related: this talk that I made 2 years ago about an experiment to ship static executables on linux that could do graphics: ▶ this video