News for hackers. Stuff that matters.
Re:Windows Terminal Source Code by Maursault on Wednesday May 11, 2022 @06:13PM (#31346559)
> Apple should follow MS's example and open source its Terminal.app

This is bellyaching about nothing. Instead, Microsoft should follow Apple's example and open source the operating system. The only part of macOS that is not open source is the GUI, i.e. Quartz Compositor, and the gui applications. Microsoft, meanwhile, is an incredible slouch when it comes to open source, only very recently changing their hostile "embrace, extend, extinguish" stance towards OSS.

Re:Windows Terminal Source Code by ChuckNorris89 on Thursday May 12, 2022 @03:16AM (#31350281)
>Microsoft should follow Apple's example and open source the operating system

1. Apple did not open-source MacOS. Hell, I can't even buy a copy of it and run it on a PC but instead I have to buy Apple HW to get it, while at least I can download a copy of Windows and run it (even unregistered) on any cheap PC HW and develop SW for it, without paying for Microsoft hardware, or even for the OS itself (gray legal area), unlike Apple where the only way I can run MacOS and develop SW for it is by buying Apple hardware which is a far more restrictive way, from a monetary perspective, to get someone on board

2. Microsoft cannot open-source Windows as it contains a lot of third party code for which it has no licensing rights to open source. They've explained this multiple times. I assume the same applies to modern MacOS.

Re:Windows Terminal Source Code by tambourine_man on Wednesday May 11, 2022 @09:06PM (#31348002)
There’s orders of magnitude more closed source than open on macOS. But yeah, all software should be open source.
Re:Windows Terminal Source Code by Maursault on Wednesday May 11, 2022 @09:57PM (#31348337)
I probably shouldn't dignify this with a response, but yeah, you don't know what you're talking about. The kernel XNU is OSS. The BSD userland is OSS. This means that technically, the operating system is open source. If you go by file count, there is far more OSS in macOS than not. But if you want to go by file sizes, then the only closed source parts of macOS, again, are the GUI, the Quartz Compositor, and a lot of Apple's installed applications, which are bound to have large file sizes. So it is deceptive and frankly false to claim speciously there are, plural, "orders of magnitude more closed source than open in macOS."

But every release Apple releases more open source software.[1] No other proprietary operating system vendor releases more open source than Apple.

So, yeah, you're just wrong.

[1] https://opensource.apple.com/releases/

Re:Windows Terminal Source Code by babylonunited on Thursday May 12, 2022 @03:07AM (#31350196)
I think a lot of value comes with the Frameworks, with them you get at least source compatibility with macOS and without them the core operating system will just be another Unix operating system without much hardware supports.

So I personally put much more weight on the Frameworks over XNU and BSD userland. There is a reason GNUStep is less dead than PureDarwin :D

Re:Windows Terminal Source Code by Maursault on Thursday May 12, 2022 @12:24PM (#31356337)
That's fine, but the frameworks are not installed with macOS. In order to get them, one must sign up for a free developer account, at least, and install Xcode, which is massive, but I'm not sure how you can say it is part of the OS when most people never install it.
Re:Windows Terminal Source Code by babylonunited on Friday May 13, 2022 @06:14AM (#31365412)
The system frameworks e.g. Cocoa, Foundation, CoreServices come with every installation as binaries. These are the building blocks of the GUI and mac default apps. They act as the abstractions to the underlying BSD and Mach system and basically what define a macOS system. [1][2]

My point is I put more value on the closed source parts more than the core OS and even the GUI itself. If these were to be open sourced, practically means possibility of source compatibility (even binary compatibility) on Linux and that is huge deal for the public. On the other hand, I'm not sure how can anyone besides compiler and driver developers can benefits from Darwin being open source.

[1] https://developer.apple.com/library/archive/documentation/Ma... [2]https://developer.apple.com/library/archive/documentation/Ma...

Re:Windows Terminal Source Code by tambourine_man on Friday May 13, 2022 @10:19AM (#31367979)
Yeah, I almost spit my coffee.

>>…but the frameworks are not installed with macOS

To paraphrase Maursault, he has no idea what he's talking about and we shouldn't dignify him with an answer.

Re:Windows Terminal Source Code by tambourine_man on Thursday May 12, 2022 @08:48AM (#31353275)
Cocoa/UIKit, Quartz, Core*, drivers, etc are all closed source and much larger (by line count) than the kernel and BSD stuff. You can even throw WebKit and LLVM (which are humongous) in the mix and it won't change the balance.

But since I can't link to them and neither can you, we're just going to keep saying the other one is wrong in a web forum.

Re:Windows Terminal Source Code by Maursault on Thursday May 12, 2022 @12:27PM (#31356372)
And that is expected, because graphics takes up a lot of space, so this comparison is not intellectually honest. But I'd like to see you try running just the "Cocoa/UIKit, Quartz, Core*, drivers, etc" without the kernel and BSD userland. Without the GUI, we still have an operating system that is entirely OSS. With only the GUI, we have nothing that works.
Re:Windows Terminal Source Code by babylonunited on Friday May 13, 2022 @06:13AM (#31365404)
> But I'd like to see you try running just the "Cocoa/UIKit, Quartz, Core*, drivers, etc" without the kernel and BSD userland

That's the point we can't because they are binaries (with strict EULA at that) but make it open source I can guarantee they will be ported to Linux within a year :D

> Without the GUI, we still have an operating system that is entirely OSS. With only the GUI, we have nothing that works.

entirely OSS operating system that lacked hardware supports to be useful, what is the point over something like Linux. Even FreeBSD supports more hardware.

Re:Windows Terminal Source Code by tambourine_man on Friday May 13, 2022 @10:11AM (#31367869)
>because graphics takes up a lot of space, so this comparison is not intellectually honest

I've written “by line count”. It's more code, lots of it, not binary size.

>Without the GUI, we still have an operating system that is entirely OSS. With only the GUI, we have nothing that works.

You're discussing merits, I've been arguing about an absolute value: lines of code.

But if you want to discuss merit, here's another objective data: Darwin has been open source for 20 years. No one runs it. Because all the value is at the top layers and lower closed source ones. See the trouble folks at Asahi Linux are going through to reverse engineer the M1's GPU graphic driver.

Re:Windows Terminal Source Code by melony on Wednesday May 11, 2022 @06:17PM (#31346620)
Mac without the userland is mostly useless. At that point you might as well switch fully to FreeBSD.
Re:Windows Terminal Source Code by Maursault on Wednesday May 11, 2022 @06:37PM (#31346835)
This is a straw man, and also not entirely accurate. Darwin is BSD, and in theory just as useful as BSD, or FreeBSD, NetBSD, and useful to developers, and to anyone that can figure out how to install it and use it. [1] Meanwhile, Windows without hardware less than 2 years old is absolutely worthless. Thus, Linux.

[1] http://www.puredarwin.org/

Re:Windows Terminal Source Code by ChuckNorris89 on Thursday May 12, 2022 @03:04AM (#31350177)
>Meanwhile, Windows without hardware less than 2 years old is absolutely worthless.

This is false. Source: Installed Windows 11 from official Microsoft ISO on a laptop from 2016 (6 years old) and runs buttery smooth.

Please stop spreading FUD like this.

Re:Windows Terminal Source Code by Maursault on Thursday May 12, 2022 @12:30PM (#31356411)
If it were not true, Linux would never have become popular. Linux evolved beyond quickly fixing what Microsoft broke to take over the server space, but that was Linux's first practical reason for existing, to mitigate the problems with Windows slowly dying after about 2 years of being installed and used daily.
Re:Windows Terminal Source Code by ahtihn on Thursday May 12, 2022 @02:24AM (#31349942)
> Meanwhile, Windows without hardware less than 2 years old is absolutely worthless.

That is not my experience at all.

Re:Windows Terminal Source Code by shadowfox on Thursday May 12, 2022 @03:41PM (#31359285)
> Meanwhile, Windows without hardware less than 2 years old is absolutely worthless

This seems like a massive exaggeration. I am currently running Windows 10 on a refurbished laptop I bought in 2012! (So, actual hardware is even older).

Re:Windows Terminal Source Code by forgotpwd16 on Thursday May 12, 2022 @03:25AM (#31350359)
Is there a comparison of Darwin to other BSDs?