Live data from Hacker News

Swift is Open Source

swift.org

201–210 of 458 posts

Re: Swift is Open Source

#202

Earlier quoted context omitted.

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

Interesting to also see Mattt Thompson helped out.

Yea that's great; he's has a clear understanding of what it means to write and maintain a third party package[1] and he's also exceptionally good at writing documentation and code samples[2].

1: https://github.com/Alamofire/Alamofire

2: http://nshipster.com

Re: Swift is Open Source

#203

I see this as an hilarious welcome joke from the community : https://github.com/apple/swift/pull/17 Its developer's way to say FIRST

No. This is a childish joke, and inappropriate. As a community of professionals, we should do everything we can to discourage this kind of crap. Joe Cumbo (mooman219), I hope you never apply for a job I'm the hiring manager for, because I would never hire you after seeing this kind of unprofessionalism in your Github profile.

And I would never want to work for you if you've such a dearth of humor :P

Exactly how is this inappropriate?

Re: Swift is Open Source

#204
post #156

Would anyone use Swift if it wasn't necessary for iOS?

It isn't necessary for iOS. It's still possible to write every part of an app in only Objective-C, as there are no Swift-only APIs. AFAIK, there are no indications of that changing any time soon.

Re: Swift is Open Source

#205

I see this as an hilarious welcome joke from the community : https://github.com/apple/swift/pull/17 Its developer's way to say FIRST

I don't get it, can you explain? I don't know much about licensing...

Re: Swift is Open Source

#206

Earlier quoted context omitted.

Why would Apple write a Swift compiler in Objective-C, a language that it is in the process of phasing out in favor if Swift? And of course it is not possible to write a Swift compiler in Swift before the language exists. So no, not odd at all. Quite logical actually.

> of course it is not possible to write a Swift compiler in Swift before the language exists No, but you can do a self-hosting port after you have a first rudimentary compiler. Many compilers have been built like this. Some did it early in language development with a purpouse built one-off bootstrapping compiler, some did it after the language was somewhat stable (eg Go). ObWP: https://en.wikipedia.org/wiki/Bootstrap…

Some people I know previously asked this question to one of the Swift developers. I believe the reasoning was along the lines of (very liberally paraphrased/interpreted): Even aside from the problem of bootstrapping the compiler's compilation to start, performant compilation on C++ is a very mature and well-explored problem space. C++ already compiles on a ton of systems, and maintaining a C++-to-Swift(bootstrap compiler)-to-Swift(final compiler) compilation process is added complexity and invites repeated work.

From a language design point of view, the things needed to get a language to the point where it could successfully and efficiently compile itself would skew or re-order priorities in a much different fashion than if they were to focus on building and iterating on an applications and systems language.

tl;dr: LLVM and Clang and their assorted toolsets do quite a bit of valuable work; reinventing that to serve the language they're building is a feedback loop is a downside that also removes some upside from the equation, too.

Re: Swift is Open Source

#207

Great news! Coding in Swift is fantastic and I would love to see it coming to more platforms, maybe even on servers. It could become a serious Javascript competitor due to its elegant syntax, the type safety and speed.

I completely agree. I want to be able to write the core of an application once, and then add on a UI for every platform I deploy it on (Windows, OS X, Linux, iOS, Android, etc.). Currently, the only real options for doing this are C/C++, and that's just no fun to do.

I'd love to have a higher level like Swift that can be easily ported between platforms and connected to whatever development language/environment that is commonly used on that platform.

I'm hoping that open sourcing Swift will allow something like this to happen. It seems like Microsoft is already making moves toward making Swift interoperable with .NET as a way of making it easier iOS developers to release Windows phone apps, so I'm optimistic.

Re: Swift is Open Source

#208

I see this as an hilarious welcome joke from the community : https://github.com/apple/swift/pull/17 Its developer's way to say FIRST

No. This is a childish joke, and inappropriate. As a community of professionals, we should do everything we can to discourage this kind of crap. Joe Cumbo (mooman219), I hope you never apply for a job I'm the hiring manager for, because I would never hire you after seeing this kind of unprofessionalism in your Github profile.

I likely agree with your sentiment, but I'm afraid I'm too ignorant to even realize there is any attempt at a joke. For my understanding of the culture, would someone mind explaining?

Re: Swift is Open Source

#210

Earlier quoted context omitted.

No. This is a childish joke, and inappropriate. As a community of professionals, we should do everything we can to discourage this kind of crap. Joe Cumbo (mooman219), I hope you never apply for a job I'm the hiring manager for, because I would never hire you after seeing this kind of unprofessionalism in your Github profile.

And I would never want to work for you if you've such a dearth of humor :P Exactly how is this inappropriate?

A company that is traditionally hostile to open source gets as one of its first "contributions" to a newly opened project a troll, confirming a bad stereotype of the open source community.

How could that not be considered inappropriate?

Post reply on HN