Live data from Hacker News

MacOS 10.12 Open Source Components

opensource.apple.com

91–100 of 170 posts

Re: MacOS 10.12 Open Source Components

#91

Heh, I went spelunking through the bsd/mach layers of the code, was quite a bit of fun. Looks like they've only released the x86_64 and x86 versions of the code? I don't see any ARM in there. Anyways, found gems like this [1]: /* * File: sched_prim.c * Author: Avadis Tevanian, Jr. * Date: 1986 * * Scheduling primitives * */ I hope to leave a legacy like this someday, hopefully someone will appreciate the author's com…

From the source with a false `CONFIG_SCHED_DEFERRED_AST` flag :)

/* We don't support deferred ASTs; everything is candycanes and sunshine. */

Re: MacOS 10.12 Open Source Components

#92
post #62

Earlier quoted context omitted.

It's included so the there's a nice editor in Terminal by default (yes, I'm just kidding, I know vim is there). It's so old because it's the last version of Emacs released under version 2 of the gpl (and Apple hates version 3). It's the same reason the default Bash is so old.

Bash defaults to Emacs keybindings which also work throughout macOS since it began in the NeXT days. It is included because on macOS it is the universal text editor.

I am new to macOS and I was just recently surprised by that - noticed Ctrl+k worked in some un-expected places like a plain text box widget (not in emacs). I thought it was a nice touch.

Re: MacOS 10.12 Open Source Components

#93
post #85

Earlier quoted context omitted.

That code is not there in order to be useful to someone. It's there to meet the liabilities that they have through the licenses for the used open source software. These licenses often say that if you use the software you also need to allow the public to retrieve it. Even more so if you make modifications to it.

That's only true of GPL'ed components shipped as part of Mac OS X/ OS X / macOS. A vast majority isn't - some are BSD and most are Apple originated software under an Apple Open Source License (APSL)

Yeah, that might be true. But if you are a big organization you probably want to have a standardized process on how to handle third party open source software (how to document it, where to store it, etc...).

Re: MacOS 10.12 Open Source Components

#95
post #58

Earlier quoted context omitted.

I'm not sure that is constructive to the topic in any way

You are right; I should have posted more of an explanation. I am a longtime Mac user who has grown disenchanted and I suspect I am one of many. After the back-toback announcements of the new Surface Book and the new Macbook Pro, I felt like maybe Microsoft was the more geek-friendly company and that their product was a higher end product that would meet my needs better. So, I bought a Surface Book today and I am kind…

[deleted]

Re: MacOS 10.12 Open Source Components

#96

Heh, I went spelunking through the bsd/mach layers of the code, was quite a bit of fun. Looks like they've only released the x86_64 and x86 versions of the code? I don't see any ARM in there. Anyways, found gems like this [1]: /* * File: sched_prim.c * Author: Avadis Tevanian, Jr. * Date: 1986 * * Scheduling primitives * */ I hope to leave a legacy like this someday, hopefully someone will appreciate the author's com…

  /*
   *	Author:	Avadis Tevanian, Jr. */
   */
Avie Tevanian did go on to leave quite a legacy. He was Apple's software CTO up until 2006 and was responsible for much of the Mac OS X we know today!

Re: MacOS 10.12 Open Source Components

#97

Heh, I went spelunking through the bsd/mach layers of the code, was quite a bit of fun. Looks like they've only released the x86_64 and x86 versions of the code? I don't see any ARM in there. Anyways, found gems like this [1]: /* * File: sched_prim.c * Author: Avadis Tevanian, Jr. * Date: 1986 * * Scheduling primitives * */ I hope to leave a legacy like this someday, hopefully someone will appreciate the author's com…

/* * Author: Avadis Tevanian, Jr. */ */ Avie Tevanian did go on to leave quite a legacy. He was Apple's software CTO up until 2006 and was responsible for much of the Mac OS X we know today!

https://en.wikipedia.org/wiki/Avie_Tevanian

Re: MacOS 10.12 Open Source Components

#98

Heh, I went spelunking through the bsd/mach layers of the code, was quite a bit of fun. Looks like they've only released the x86_64 and x86 versions of the code? I don't see any ARM in there. Anyways, found gems like this [1]: /* * File: sched_prim.c * Author: Avadis Tevanian, Jr. * Date: 1986 * * Scheduling primitives * */ I hope to leave a legacy like this someday, hopefully someone will appreciate the author's com…

For giggles, here are some comments I grepped from the WinNT kernel: https://gist.github.com/turbo/75f0905275c29a3049f983cfe273ea...

where did you get the source to grep through?

Re: MacOS 10.12 Open Source Components

#99
post #98

Earlier quoted context omitted.

For giggles, here are some comments I grepped from the WinNT kernel: https://gist.github.com/turbo/75f0905275c29a3049f983cfe273ea...

where did you get the source to grep through?

Just look a few comments below.

Re: MacOS 10.12 Open Source Components

#100
post #36
post #6

Long time ago, they used to also publish a bootable ISO of Darwin + all of those OSS packages. They did publish an updated Darwin core / kernel a few releases back, but it seems to be closed again. Too bad, I think someone with some determination could have gotten am hypervisor based container tech running on this. Of course the test would not run, but APIs shims could have made whole software compile (but not link).…

If Apple open sourced all of macOS maybe that would put more pressure on Microsoft to intentionally[1] open source Windows. [1]: It has been open sourced in the past: https://torrentfreak.com/microsoft-takes-pirated-windows-nt-... http://www.theinquirer.net/inquirer/news/1030335/leaked-wind...

OS X and Mac OS X 10.0-10.6 _ARE_ open source. Most services (including Quartz, the display server) are not. macOS could be once there is a new code drop, if they ever bother.
Post reply on HN