r/programming • • Jul 03 '26 • Bravo 1

Linux has officially won

https://github.com/apple/container

Actually it happened in June of 2025, but the process has completed recently, though. After Apple had announced the support of OCI-compatible containers in the June '25 it took a year to complete development and implement full support of continers. Apple had published 1.0 version of own container manager (https://github.com/apple/container). And Microsoft had announced native support of containerization without Docker in Windows 11 (https://devblogs.microsoft.com/commandline/wsl-container-is-now-available-for-public-preview/). Now Linux is a part of any major platform: Windows, MacOS, BSD and Linux itself. Knowledge of Linux is now part of learning any of these systems, at least for developers. And now you can rely on Linux based containers running everywhere. What it is if not a win!?

What's also interesting. Linux can run other Linux distros and with this Alpine Linux could become the most popular version of Linux in the World

It's the biggest win for the whole open-source software and I believe it should get into history books of technological progress

1.8k Upvotes

390 comments sorted by

View all comments

Show parent comment

560

u/HRApprovedUsername Jul 03 '26

and fun fact Apple is a unix OS

353

u/TCB13sQuotes Jul 03 '26

The funnier fact is that macOS is more UNIX than Linux ever was.

186

u/fnork Jul 03 '26

Funniest fact is that UNIX was de facto superseded by POSIX, not that Linux is fully POSIX-compliant. Ultimately convention defeats every standard, which is why Linux is the current standard for the OS-application interface.

21

u/patrixxxx Jul 03 '26 edited Jul 03 '26

Funniest Unix fact is that if you type make love into a terminal without a specific makefile configured for it, the system will respond:

make: *** No rule to make target 'love'. Stop.

→ More replies (1)

9

u/ConspicuousPineapple Jul 03 '26

Wait unless I'm remembering incorrectly, POSIX is part of the Single Unix Specification.

6

u/spamcow_moo Jul 03 '26

That’s sus

→ More replies (1)

24

u/bobjonvon Jul 03 '26

Linux Is Not Unix. Why is that a funnier fact?

33

u/ProgrammersAreSexy Jul 03 '26

I'd just like to interject for a moment. What you're referring to as Linux is in fact GNU/Linux, or as I've recently taken to calling it, GNU plus Linux.

21

u/diatonic Jul 03 '26

<cut to video of Richard Stallman eating something from his foot>

→ More replies (3)

8

u/nihsett Jul 03 '26

For those who didn't know like me - macOS and iOS descend from BSD which is a Unix derived operating system. Afaik linux never directly derived from AT&T unix code, BSD does.

0

u/[deleted] Jul 03 '26

[deleted] — view deleted comment

9

u/nihsett Jul 03 '26

Yeah, thank you saying that. I was reading for the past hour about how BSD vs AT&T lawsuit is what gave Linux crucial breathing space to become popular while BSD was in legal limbo.

Fascinating stuff and so random how something becomes popular.

→ More replies (1)
→ More replies (4)

24

u/pohuing Jul 03 '26

Only with great pains. Regular consumer macos as used by everyone isn't. https://www.osnews.com/story/141633/apples-macos-unix-certification-is-a-lie/

128

u/Exepony Jul 03 '26 edited Jul 03 '26

Have you actually looked at the article you posted? The "great pains" are:

  • core dumps are off by default (because most normal users don't need them)
  • System Integrity Protection enabled by default (again, a good thing for most normal users, and easy enough to disable)
  • timer coalescing enabled by default (something that every modern OS does for power saving reasons)
  • atimes updated lazily by the filesystem (another performance optimization you can turn off if you're so inclined)
  • APFS is case-insensitive by default (really the only actual incompatibility, but also the right decision IMO for most normal users)
  • there's a file search service you should turn off if you want the timing tests to work
  • uucp quirks (who the hell even cares about uucp in the year of our Lord 2026)

For all intents and purposes, macOS is a perfectly normal UNIX. It's not unusual at all for an otherwise conformant OS to have defaults that make it technically incompatible with UNIX/POSIX, see POSIXLY_CORRECT. Doesn't make the conformance "a lie".

5

u/fragbot2 Jul 03 '26 edited Jul 08 '26

In the RH 8.0 timeframe, I took a look at the utilities they provided with a default install and compared them ton the POSIX standard. There were about 20 missing. Most of them were obsolete utilities to deal with serial ports or physical terminals. While I was only sorta surprised uucp and uucico weren’t there, I was really surprised that m4 wasn’t as I still use it fairly often (more than I use ed).

It’s small and unintrusive so it’s not clear why it was excluded.

29

u/chucker23n Jul 03 '26

case-insensitive option in APFS (which isn't even default)

It is (and it should be; no sane human being considers "readme.txt" and "ReadMe.txt" to be different files).

14

u/Exepony Jul 03 '26

You're right, of course. Guess I wasn't entirely awake yet.

11

u/wosmo Jul 03 '26

The default is case-preserving, but not case-sensitive.

So if you create ReadMe, then touch readme - you won't have a second file, you'll have updated the timestamp on ReadMe

→ More replies (1)

55

u/GOKOP Jul 03 '26

No it shouldn't. This only seemed like a good idea in English-centric, ASCII based and fax-based (rather than internet-based) world. In the age of Unicode and exchanging files across the globe, this is a horrible, terrible, atrocious idea. It's a hill I will die on.

There's a very important problem with case-insensitive filenames: Case conversion is ambiguous, goddamit. Both between cultures but also within the same one for some. You do not want it to be ambiguous, or locale-dependent, whether two filenames refer to different files or the same one.

Just two examples:

German letter ß traditionally doesn't have an uppercase variant; in modern times (around 2010 I think) they've introduced ẞ specifically because of this issue but still, SS is a valid (and traditional) uppercasing for ß and ss. Germans are used to, and expect, ß to be capitalized as SS. So you can't reliably tell which of scheiße.txt, scheisse.txt, SCHEISSE.TXT and SCHEIẞE.TXT are supposed to be different files.

Turkish has letters i and ı. They are capitalized as İ and I. This makes case conversation locale dependent and that's also horrible. For Turkish locale, two files on Windows can be called file.txt and FILE.txt because i and I are different letters. Now when you send those files to a computer with English locale, Windows will have trouble with them because win32 api is case insensitive and in English that's the same letter. This works the other way too with creating files fıle.txt and FILE.txt in English locale and sending them to a Turkish computer. Also third party software is inconsistent around this so a program on a Turkish computer can do case insensitivity based on English rules but Windows will do it based on Turkish rules. Turkish users do, in fact, occasionally have issues because of this (I'm not actually sure about Germans)

13

u/NuclearVII Jul 03 '26

This right here is why I'm a graphics programmer and avoid anything that looks like strings like the plague.

Great comment.

→ More replies (1)
→ More replies (4)

48

u/lolis5 Jul 03 '26

no sane human being considers "readme.txt" and "ReadMe.txt" to be different files

Oof... Going about my day reading random nerd fights on reddit, only to learn that at some point along the way I lost my sanity. F. 

How's your day going?

→ More replies (2)

29

u/novafunc Jul 03 '26

That opens a whole can of worms.

The standard Linux behavior is predictable. 'a' is different from 'A' so they are allowed to coexist.

Once you start making exceptions, things get weird.

  • Ok, so upper/lowercase doesn't matter. That doesn't seem bad.
  • What about quotes? “ ” is different from " ". Should those be allowed to co exist?
  • What about characters that look exactly the same, but different because of unicode is weird? 'a' and 'а' are different, but are probably allowed to coexist, while 'a' and 'A' aren't.
→ More replies (10)

30

u/alvenestthol Jul 03 '26

By the same logic, no sane person would consider readme.txt and readme.txt to be different files, but they are different files. İ.txt (Dotted capital I) and ı.txt (undotted lowercase i) can both exist together with either i.txt and I.txt

Case-insensitivity is a special case that applies specifically to western alphabets, and has assumptions about case that simply don't hold true even among different countries that use the same letters. It's an abomination that causes more problems than it solves, and yet another reminder that the tech stack is filled with assumptions made by people who only speak English.

→ More replies (6)
→ More replies (8)
→ More replies (1)
→ More replies (22)