HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

"What UNIX Cost Us" - Benno Rice (LCA 2020)

linux.conf.au3 HN recommenders · recommended in 3 months, 2022-2025
YouTube
218K views · 6 years ago · talk · evergreen

Benno Rice's linux.conf.au 2020 talk asks whether UNIX was the best design we could have had. He looks at what alternatives existed, what was gained and lost, and what could be re-learned, including the limits of treating everything as a file.

Recommended as an insightful and entertaining critique of UNIX design choices such as file descriptors and 'everything is a file'.

Operating systems & kernelsLinux & open-source ecosystems#unix#filedescriptors#operatingsystems#freebsd#everythingisafile

6 comments from Hacker News

@favorited2025 · in “Exploring Polymorphism in C: Lessons from Linux and FFmpeg's Code Design (2019)”

> for instance, Linux handles network socket, special files (like /proc/cpuinfo) or even USB devices as files. This is a powerful idea that can make easy to write or use programs for linux since we can rely in a set of well known operations from this abstraction called file. Benno Rice gave a fantastic talk a few years ago called "What UNIX Cost Us," which he starts off by showing how to write some USB device code in macOS, Windows, and Linux. It only takes a few minutes to demonstrate how pretending that everything is a file can be a pretty poor abstraction, and result in far more confusing code, which is why everyone ends up using libusb instead of sysfs. ▶ this video

Strongly recommendsView on HN
@pxc2024 · in “Systemd, 10 years later: a historical and technical retrospective (2020)”

I'll second this recommendation! Benno Rice is an insightful, energetic, witty, and just plain enjoyable tech speaker. 'What UNIX Cost Us'[1] is another favorite of mine that the audience on this post might enjoy: ▶ this video

Strongly recommendsView on HN
@throwaway11942024 · in “Ask HN: Performance of Apple Sillicon vs. ThinkPads (Or Other Linux Laptops)”

> I get that in abstract improvements "could" trickle down from that but once again without any performance benchmarks that is the definition of speculation. Fair enough, I am not sure whether CPU schedulers are shared across architectures, I am also not aware of any recent benchmarks other than: link Where I was going with my original statement/post is that I wouldn't be surprised to see Linux doing better in some benchmarks due to improvements in the kernel, there has been many recent developments such as io_uring[0], MGLRU, etc. that could make a difference compared to other systems. [0] ▶ this video

CitesView on HN
@DonHopkins2024 · in “Everything Is a File”

Even PowerShell's flawed and limited execution definitively proves how terribly misguided and morally bankrupt the pin-headed one-dimensional "everything is a file" Unix philosophy is, especially with its the ridiculously hard-to-parse ad-hoc non-standard mixed-bag syntax of /proc and /etc files, which would have been much better simply using xml or json, yet which don't even come close to achieving that low bar of machine readability and ease of scripting. If everything is a file, then why the fuck is the insufferable abomination of ioctl so crucial to haphazardly papier-mâché and duct tape over all the uncanny gaps and gaping cracks? Yet another strike against the mindless cargo cult nonsense and unquestioning sycophantic hero worship of TAOUP. link 13 The File System Sure It Corrupts Your Files, But Look How Fast It Is! Pretty daring of you to be storing important files on a Unix system. —Robert E. Seastrom The traditional Unix file system is a grotesque hack that, over the years, has been enshrined as a “standard” by virtue of its widespread use. Indeed, after years of indoctrination and brainwashing, people now accept Unix’s flaws as desired features. It’s like a cancer victim’s immune system enshrining the carcinoma cell as ideal because the body is so good at making them. Way back in the chapter “Welcome, New User” we started a list of what’s wrong with the Unix file systems. For users, we wrote, the the most obvious failing is that the file systems don’t have versio

CitesView on HN
@sph2023 · in “Reforming Unix”

Not the author but I recommend: "What UNIX cost us" by Benno Rice: ▶ this video In fact, this video argues that file descriptors are not as good as the author claims in their opening paragraph. They are another runaway idiosyncrasy borne out of the "everything is a file (but not really)" philosophy that underpins Linux.

RecommendsView on HN
@ddulaney2022 · in “A Linux Evening”

Eh, having worked with both systems, I'd say they're roughly equally impenetrable. For sure, the registry sucks. But at least it's uniform and scriptable. Once you know what needs to be changed, you can write a .reg file and be reasonably confident it will at least change the registry in a valid way. On the other hand, if the solution to a problem on Linux is to change some dotfile controlling some daemon, reliably scripting it can be difficult to impossible. Did the distro put the config file somewhere weird? Is awk good enough here? What if the key I'm looking to update is found in a comment, and what is the commenting structure for this file anyway? What if the daemon rewrites its config file on exit [0]? Or has a config file with an extremely complex format [1]? Or I need to poke several /sys files in a particular order [2]? Both systems are hard to reason about, especially if you don't know them. But Linux isn't easy to approach for the first time, and there are advantages to the way Windows does things. [0]: link [1]: link [2]: ▶ this video

CitesView on HN
The Tragedy of systemd47:18

The Tragedy of systemd

linux.conf.au
1.3M views • 7 years ago
Unix and Google7:16

Unix and Google

FOAM
9K views • 10 years ago
Benno Rice: The Tragedy of systemd -- BSDCan 201832:30

Benno Rice: The Tragedy of systemd -- BSDCan 2018

BSDCan
25K views • 8 years ago
AT&T Archives: The UNIX Operating System27:27

AT&T Archives: The UNIX Operating System

AT&T Tech Channel
2.2M views • 14 years ago
Alan Kay on Linux0:38

Alan Kay on Linux

Jack
20K views • 12 years ago
A Narrative History of BSD, Dr. Kirk McKusick53:55

A Narrative History of BSD, Dr. Kirk McKusick

bsdconferences
30K views • 17 years ago
VCF East: Ken Thompson interviewed by Brian Kernighan1:03:51

VCF East: Ken Thompson interviewed by Brian Kernighan

Vintage Computer Federation
417K views • 7 years ago
The Mind Behind Windows: Dave Cutler3:10:28

The Mind Behind Windows: Dave Cutler

Dave's Garage
1M views • 3 years ago
Bloat: How and Why UNIX Grew Up (and Out) - Rusty Russell,Matt Evans42:39

Bloat: How and Why UNIX Grew Up (and Out) - Rusty Russell,Matt Evans

Linux.conf.au 2012 -- Ballarat, Australia
21K views • 14 years ago
"A Political History of X" - Keith Packard (LCA 2020)45:33

"A Political History of X" - Keith Packard (LCA 2020)

linux.conf.au
52K views • 6 years ago
The History of Unix, Rob Pike1:00:38

The History of Unix, Rob Pike

Stephanie Borgman
120K views • 8 years ago
The Origins of Linux—Linus Torvalds1:25:13

The Origins of Linux—Linus Torvalds

Computer History Museum
659K views • 18 years ago
"Write a single library to handle all input devices, it'll be easy" they said...46:54

"Write a single library to handle all input devices, it'll be easy" they said...

linux.conf.au
21K views • 6 years ago
EFI and Linux: the future is here, and it's awful - Matthew Garrett53:11

EFI and Linux: the future is here, and it's awful - Matthew Garrett

Linux.conf.au 2012 -- Ballarat, Australia
77K views • 14 years ago
A Brief History of the BSD Fast Filesystem by Marshall Kirk McKusick56:53

A Brief History of the BSD Fast Filesystem by Marshall Kirk McKusick

EuroBSDCon
878 views • 6 years ago
Jordan Hubbard - FreeBSD: The Next 10 Years48:52

Jordan Hubbard - FreeBSD: The Next 10 Years

iX
24K views • 11 years ago
Plan 9: Not dead, Just Resting, by Ori Bernstein1:17:07

Plan 9: Not dead, Just Resting, by Ori Bernstein

BSDTV
42K views • 7 years ago
Kirk McKusick - A Narrative History of BSD47:51

Kirk McKusick - A Narrative History of BSD

iX
17K views • 11 years ago
USENIX ATC '21/OSDI '21 Joint Keynote Address-It's Time for Operating Systems to Rediscover Hardware1:06:20

USENIX ATC '21/OSDI '21 Joint Keynote Address-It's Time for Operating Systems to Rediscover Hardware

USENIX
46K views • 5 years ago
The State of Kernel Self Protection Project by Kees Cook, Google45:47

The State of Kernel Self Protection Project by Kees Cook, Google

The Linux Foundation
7K views • 9 years ago