9 ms·
Apple relases open source modules of Big Sur
- s3tz 6y agoI guess apple using git is too much to ask..
- ericlewis 6y agothey do all the time for other open source projects, I assume this is just legacy that plugs in with their in-house system.
- duskwuff 6y agoThey could very well be using Git internally. But they don't want to release the full history of their development process, complete with authors, commit messages, and intermediate commits -- that's likely to include or imply a lot of information that isn't appropriate to release.
- zinekeller 6y agoSee also: Google and the non-kernel part of AOSP (it is just a snapshot of the current source at the time, not the in-between releases).
- kdrag0n 6y agoMost internal commit history is intact in AOSP, including the changes between releases. They just have a complex merging setup that deviates slightly from internal branches.
- mikepurvis 6y agoIndeed, and this is so much an industry standard practice that it was particularly significant when Apple open sourced Swift in Dec 2015, they didn't just do a tarball dump or promise that development would be in the open going forward, they actually opened up the whole development history right back to the start of the project in 2010: https://github.com/apple/swift/commit/afc81c1855bf711315b8e5de02db138d3d487eeb https://github.com/apple/swift/commit/afc81c1855bf711315b8e5...
- favorited 6y agoNot really unprecedented though. I'm pretty sure the whole SVN repositories were published for clang, libc++, etc. when they were open sourced.
- deleted 6y ago[deleted]
- fooker 6y agoThey do, Apple has an internal gitlab instance which a bunch of teams use.
- deleted 6y ago[deleted]
- Hamuko 6y agohttps://github.com/apple https://github.com/apple
- vletal 6y agoThere is hardly any overlap between their public repos and these modules.
- Dylan16807 6y agoI don't know why you're getting downvoted. There's a serious argument that a source dump without commits is not the "preferred form of the work for making modifications".
- pjmlp 6y agoWell, they could have not released anything instead.
- deleted 6y ago[deleted]
- Dylan16807 6y agoIs not a single bit GPL? It's still worth comparing it to different standards of quality. Beggars can't be choosers but I'm not begging, I'm evaluating them as a corporate citizen.
- pjmlp 6y agoThen evaluate them how the people get treated on their factories, not whatever they do with a pity software license.
- raimue 6y agoApple processes the source code before releasing it as open source, like excluding some source files and even stripping specific #ifdef sections. This can be implied from shell scripts that are part of the tarballs. Such an approach would be way more complicated if the open source release included version control history. These code drops already always come months after the macOS releases.
- berelig 6y agoCan someone explain what this means? Does it benefit those working on Linux support for M1?
- gpm 6y ago> PowerManagement-1132.50.3 At least the name sounds promising. None of this is licensed such that they can use it directly, but having the source available can speed up the reverse engineering process such that they can rewrite their own version of the code that interacts with the hardware.
- arghwhat 6y agoNote that this requires a clean-room process - reading the original source code as inspiration usually taints any work derived from the observations. This is why open source developers actively avoid reading leaked sources from proprietary projects for example. "open source" code with too restrictive licenses is no different from closed source code.
- gpm 6y agoThe relevant developers are of the opinion (one that I agree with) that it does not require a clean room process. A clean room process is a gold standard for preventing accidental copyright infringment, but is not necessary and is enough work they don't consider it worthwhile. Reading (and even to the extent that it's compatible with the license modifying) the original source code to learn how the underlying hardware works is not copyright infringment and does not make future works you produce derivative works of the original. Source/explanation in their words instead of mine: https://asahilinux.org/copyright/ https://asahilinux.org/copyright/ (See: "Reverse engineering policy")
- arghwhat 6y agoThe policy of those developers does not mean much, and while the policy of upstream kernel developers that need to accept the code can be interesting, but ultimately only a lawyer's opinion have any meaning here. They might coincidentally be right of course, but their advice, policy and opinion in this legal matters mean as little as yours and mine.
- lrossi 6y agoThere is a chess engine in there :) https://opensource.apple.com/source/Chess/Chess-408/ https://opensource.apple.com/source/Chess/Chess-408/
- favorited 6y agoContaining this wonderful comment: "Paradoxically enough, moving as quickly as possible is not necessarily desirable. Users tend to get frustrated once they realize how little time their Mac really spends to crush them at low levels. In the interest of promoting harmonious Human - Machine relations, we enforce minimum response times." https://opensource.apple.com/source/Chess/Chess-408/Sources/MBCEngine.mm.auto.html https://opensource.apple.com/source/Chess/Chess-408/Sources/...
- gowld 6y agoI don't think it's how smart the computer is that annoys people. It's that people want a moment to see and think about the board after their move, before the opponent's move.
- etaioinshrdlu 6y agoThis is basically Skeuomorphism, right?
- tylerhou 6y agoNot really — Skeuomorphism refers to using existing (usually "obsolete") user interfaces as an analogy to help users understand a new UI. Artificially increasing computation time is about making users think that the computer is doing a lot of work when it's actually not. The goal of the former (skeuomorphism) is to help users understand; the goal of the latter is to misdirect users, either 1) so they have a better experience (like Apple here) or 2) so they are willing to fork out more money. Users are willing to pay more when they think more work is being done (c.f. TurboTax "finding" the most deductions possible, or a public record website "searching" through "all the databases" for a person).
- 6y ago
- yesthis1 6y ago"relases"
- hundchenkatze 6y agoWhy add the scare quotes? I don't know what you're implying.
- wtn 6y agoThe word is spelled incorrectly.
- hundchenkatze 6y agoAh, seems it would have been more helpful if they explicitly said that.
- henriquez 6y ago“Open source” doesn’t mean much if it doesn’t come with a usable license.
- ogre_codes 6y ago> Modified Code. You may modify Covered Code and use, reproduce, display, perform, internally distribute within Your organization, and Externally Deploy Your Modifications and Covered Code, for commercial or non-commercial purposes, provided that in each instance You also meet all of these conditions: https://opensource.apple.com/apsl/ https://opensource.apple.com/apsl/
- tempodox 6y agoYum, this is interesting. One can easily modify the URL to fit older OS releases, and get the analogous set of modules for those (like “…-1014.html” for macOS-10.14).
- ogre_codes 6y agoOr just click a few links and end up here: https://opensource.apple.com https://opensource.apple.com This isn't a new page.
- codetrotter 6y agoYou can also browse the different versions via links from https://opensource.apple.com/ https://opensource.apple.com/
- mrpippy 6y agoApple’s Kernel Engineering Manager posted a walkthrough for building and running a kernel from these sources: https://kernelshaman.blogspot.com/2021/01/building-xnu-for-macos-big-sur-1101.html https://kernelshaman.blogspot.com/2021/01/building-xnu-for-m...
- ogre_codes 6y agoThis is actually a more interesting release. Though it would be more interesting if it were for the M1 kernel.
- sigjuice 6y agoI'm glad they document this, but why is this on blogspot instead of a readme in the source or some other official apple.com page?
- pjmlp 6y agoI guess they suffer from the same disease as the Android team that writes documentation on Medium, and before that G+, instead of Android official documentation.
- sneakernets 6y agoThis is the kind of stuff Wikis (and wiki-likes) were made for. It's so frustrating when trying to find some references and stumble across the answer on random blog posts.
- dmix 6y agoI like looking through lists like this and discovering new OSS projects. This one was most interesting as a non-C or OS developer: http://www.nongnu.org/libunwind/ http://www.nongnu.org/libunwind/ > The API additionally provides the means to manipulate the preserved (callee-saved) state of each call-frame and to resume execution at any point in the call-chain (non-local goto). Sounds like fun...
- Spivak 6y agolibunwind is magic that lets you implement stack traces.
- Wowfunhappy 6y agoThe question is, how much of this can you actually build? I had a hell of a time a few months ago trying to compile the Security framework from OS X 10.9.5 (I wanted to update the cipher suites!). It needs to link to a bunch of internal, closed Apple code. I did eventually get something to compile, so there's that. But I had to pull in a bunch of reverse-engineered headers from the Darling project and similar efforts, and whatever it was that xCode finally spit out didn't seem to actually run.
- migueldeicaza 6y agoIt has been a while since I rebuilt the XNU kernel, a few years perhaps, but it is possible, and it works. These instructions are a lot better than the ones that I had to follow a few years back - I might try it, just need to find a guinea pig :-)
- Wowfunhappy 6y agoXNU itself is one of the ones that can definitely be built outside of Apple! Lots of people have made custom kernels over the years.
- fmntf 6y agoThe only one that I have built (for Linux on arm64) is mDNSresponder. It is a required component for CarPlay. I don't know if other Apple open source code runs on Linux (for real, not for tinkering).
- utf_8x 6y agoCUPS[0] (print server) is a big one... Made by Apple and pretty much the standard for Linux<>Printer interaction... [0]https://www.cups.org/ https://www.cups.org/
- vletal 6y agoNTFS, HFS, NFS, MSDOSFS, ... So many sources of file system drivers were release with the exception of APFS.
- Wowfunhappy 6y agoI mean, I don't think there's anything particularly sinister here? The released the code they wrote for compatibility with other people's file systems, and a filesystem Apple developed in the 80s. They didn't release the code for their own, proprietary (and non-ancient) filesystems. It would be nice if they did, but you can see why they didn't.
- suyash 6y agoOpen source website design looks like it hasn't been given any love since 10-15 years. Apple you can do better?
- pasc1878 6y agoGood a nice clean easy to use website. I wish more were like this