Live data from Hacker News

Swift is Open Source

swift.org

121–130 of 458 posts

Re: Swift is Open Source

#121

Earlier quoted context omitted.

Try to compile it and see if you can get it to work?

there is no source code, yet.

Right now there is!: https://github.com/apple/swift Also, the dependencies to build swift looks fine to build it on other architectures. I'll try to build it for the Raspberry Pi 2 to see.

Re: Swift is Open Source

#122

Earlier quoted context omitted.

esp considering that most external Swift developers will come from iOS development I am wondering about this. To me, it seems that there is still space for a modern, pragmatic language that compiles to native code. Coming from C and C++, I have been using Go recently for applications where garbage collection and some performance loss due to a relatively weak compiler is acceptable. However, I still find the lack of p…

I have worked extensively with both Swift and Go. The currently available Swift implementation in Xcode is fairly closely tied to Cocoa (and hence OS X); I think this would be a serious barrier to generic server-side usage of Swift, so I'm curious to see if they have done anything about that (and what). Otherwise, it's a fairly decent language. It doesn't have Go's concurrency baked in to the language, but on OS X yo…

Thanks for this info. Did you try, by any chance, Perfect (the Swift web FW)?

Re: Swift is Open Source

#123
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 really interesting that they decided to retain the full history! It also gives away some information about the initial contributors and the timeframe of when they started.

Re: Swift is Open Source

#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.

Re: Swift is Open Source

#126
post #81

Somebody compare and contrast swift for backend development with golang, node, etc. Google is giving me nothing useful.

swift doesn't appear to have a story on backend, that's why you can't google anything. there's nothing there.

Re: Swift is Open Source

#127
post #83

Earlier quoted context omitted.

Re FaceTime, I recently read an unsubstantiated but plausible comment that they'd run into patent issues that caused a redesign that caused issues open sourcing it.

and according to someone I heard on a podcast, many of the engineering leadership heard the open sourcing comment for the first time while Steve was up on stage as well.

Probably both are true.

Re: Swift is Open Source

#128
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++?

I'm glad they didn't write it in Objective-C, as this would probably make compilation on Linux much harder (I have no idea what the state of Linux support for Objective-C is). As for writing it in Swift itself, that's not possible until Swift is sufficiently stable and with enough library support. Which it may or may not have now, but certainly didn't have when they started ;)

Re: Swift is Open Source

#129
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...

Post reply on HN