News for hackers. Stuff that matters.
Re:OpenBSD System-Call Pinning by steveklabnik on Friday February 02, 2024 @05:29PM (#39235321)
My hot take here is that this split exists because of the way that Linux development works differently than other Unices and other operating systems. Essentially, it's an example of Conway's Law.

As always, things are about API boundaries: what is internal to you, and what is exposed externally to your users.

With Linux, well, we all know the rms copypasta: "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." This is a joke, but it also points to something real and serious: Linux, being just a kernel, means that they provide a stable kernel API. glibc, being written by a different organization, builds on top of that API and adds its own stable API.

By contrast, many other operating systems are developed as a full operating system. They don't produce a kernel as a standalone component. As such, they choose some other sort of boundary as the API for the OS. On unices, that's often the libc. On Windows, that's the Windows API, of which win32 is an example.

There are good reasons to not make the kernel your API boundary. Different systems make different choices, and that's a good thing, not a bad thing.

Re:OpenBSD System-Call Pinning by akira2501 on Friday February 02, 2024 @06:37PM (#39236009)
> There are good reasons to not make the kernel your API boundary.

Good reasons for the developers, not so much for the end users.

Re:OpenBSD System-Call Pinning by SSLy on Friday February 02, 2024 @07:09PM (#39236250)
WinNT seems to do just fine with that. And it's only because of users insisting on using abandonware
Re:OpenBSD System-Call Pinning by j16sdiz on Saturday February 03, 2024 @12:26AM (#39237753)
Developers works on win32api, not the kernel side NT* whatever stuffs.
Re:OpenBSD System-Call Pinning by SSLy on Saturday February 03, 2024 @05:42AM (#39239132)
Yes, that's my point. App developers (actual users of the win32 ABI) seem just fine with not calling kernel directly. App users also enjoy best in world backcompat.
Re:OpenBSD System-Call Pinning by steveklabnik on Friday February 02, 2024 @06:42PM (#39236051)
I don't agree that those two things are at odds.