Live data from Hacker News

Swift is Open Source

swift.org

131–140 of 458 posts

Re: Swift is Open Source

#131
post #120

Am I the only one who finds it odd that while pushing two high level but performant languages (Objective-C and Swift) Apple wrote their Swift compiler in C++?

Chris Lattner who created Swift wrote LLVM in C++, so it is probably easier to work with and he know C++ very well.

Re: Swift is Open Source

#132
post #125
post #112

Github repo is live now. https://github.com/apple/swift First ever commit found here https://github.com/apple/swift/commit/afc81c1855bf711315b8e5...

It's cool to see that it was basically all Lattner at the beginning and his decisions about the license/exception still stand. EDIT: License/Header in each of files were apparently retroactively added.

Look carefully at that copyright date: 2014-2015. They've rewritten history.

Re: Swift is Open Source

#134
post #125
post #112

Github repo is live now. https://github.com/apple/swift First ever commit found here https://github.com/apple/swift/commit/afc81c1855bf711315b8e5...

It's cool to see that it was basically all Lattner at the beginning and his decisions about the license/exception still stand. EDIT: License/Header in each of files were apparently retroactively added.

First page of commits if you'd like to see how the codebase iterated. Find it quite fascinating personally.

https://github.com/apple/swift/commits/master?page=819

Re: Swift is Open Source

#135
post #98
post #42

Apache 2.0 License + Runtime Library Exception + copyright owned by the contributor (i.e. no assignment or CLA) + good community structure and documentation + code of conduct... well done, Apple!

Anybody knows what effects of the "copyright owned by the contributor" are in the context of Swift's Apache license? I guess the "good side" is that the lawyers of other companies probably like when the code made by their programmers keeps being copyrighted by the company. But it is still an Apache license, so they can't demand too much from the users of the code. Still, are there any negative aspects? Any imaginable…

Not really.

Your typical corporate IP lawyer might feel queasy about the collective copyright aspect, but so much of the open source world works this way now... they can suffer in their jocks.

One important question they'll ask is: "Who can enforce the copyright and licence?" (Which is when the subtle difference between joint and collective copyright matters.)

Non-trivial contributions are made under the terms of the Apache 2.0 Licence, so regardless of who owns the copyright, everyone operates under those same terms.

One common rationalisation for copyright assignment is ease of relicensing, should it be necessary. That's much less important when operating under the terms of a permissive license.

Re: Swift is Open Source

#136
One of the biggest things for me is that now I can draw upon the knowledge and knowhow of the people making Swift itself. Coming from Java, I'm used to reading the sources of all the things and now I can finally do it. So exciting, congrats to everyone involved!

Re: Swift is Open Source

#137
post #37

It looks like Apple is also releasing an official package manager for swift.[1] I wonder how that will effect Cocoapods. [1] https://swift.org/package-manager

Also of note, the largest contributor to the package manager is Max Howell (mxcl), the creator of Homebrew: https://github.com/apple/swift-package-manager/graphs/contri...

Thanks for the link. The repos weren't up when I made my comment.

Re: Swift is Open Source

#138
post #42

Apache 2.0 License + Runtime Library Exception + copyright owned by the contributor (i.e. no assignment or CLA) + good community structure and documentation + code of conduct... well done, Apple!

Also full change history since before the project was uploaded to Github.

Re: Swift is Open Source

#139
post #98
post #42

Apache 2.0 License + Runtime Library Exception + copyright owned by the contributor (i.e. no assignment or CLA) + good community structure and documentation + code of conduct... well done, Apple!

Anybody knows what effects of the "copyright owned by the contributor" are in the context of Swift's Apache license? I guess the "good side" is that the lawyers of other companies probably like when the code made by their programmers keeps being copyrighted by the company. But it is still an Apache license, so they can't demand too much from the users of the code. Still, are there any negative aspects? Any imaginable…

Aside from the hilarious description of Oracle [t=2107], it's worth watching "The Rise and Development of illumos" [1] as it discusses some consequences of signing away copyright on your contributions to an open source project.

[1] https://www.youtube.com/watch?v=-zRN7XLCRhc

Post reply on HN