Live data from Hacker News

Swift is Open Source

swift.org

261–270 of 458 posts

Re: Swift is Open Source

#261

I still remember max howel tweet[1] in which he publicly said that we was rejected by Google. Looking at his linkedin profile[2] , he was later hired by Apple in August 2015. Now he is biggest[3] contributed to Swift package manager. It is good to see that the person who has lot of experience in handing Apple and package system is handing this stuff. I guess, things happens for good. [1] https://twitter.com/mxcl/stat…

Highly qualified people get rejected by google's interview process all the time, so people shouldn't take it personally if they get rejected. google is willing to miss out on good people occasionally because they believe they can't fix the problem w/o mistakenly hiring more mediocre/bad people.

I've read blog post on qualified developers being rejected by Apple as well. Last was one was by Furrow.

Re: Swift is Open Source

#262

Maybe now we can add a way to get a random value from an array like array,sample in Ruby. Lots of work currently to do such a simple thing in Swift.

You don't need to modify the compiler to do that. You could just write that in Swift.

Re: Swift is Open Source

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

Mind linking the podcast? Generally curious.

Re: Swift is Open Source

#264
post #134
post #125

Earlier quoted context omitted.

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

Thanks. Actually, first page is 822 for me [0]

[0] https://github.com/apple/swift/commits/master?page=822

Re: Swift is Open Source

#265

Earlier quoted context omitted.

Can you or someone summarize the salient points, for someone who doesn't have time to watch an hour-long video?

It's a good watch. Don't skip it.

I find his speaking style extremely irritating. I can't take more than a few minutes of this. I'm sure it's full of substance, though. Perhaps there's a transcript somewhere?

Re: Swift is Open Source

#266

I would love to see Swift for Android programing. I'm already using Kotlin, a language very close to Swift, for programming our Android apps. But I find Swift niftier than Kotlin.

In what way? I've recently started writing in Swift and I find it to be less powerful than Kotlin. One such feature that's missing: extension expressions. Allows things like `let` and `with` from the kotlin stdlib

Re: Swift is Open Source

#267

Earlier quoted context omitted.

Looks like they have builds for Ubuntu 14.04 and 15.10. I expect they would work on other debian-based linuxes (linuces?) but haven't tried.

Here are my results on a Debian jessie box: If you just want to play with the REPL (usr/bin/swift in the Ubuntu 14.04 snapshot), all you have to do is: apt-get install python-dev If you want to actually compile swift files (usr/bin/swiftc in the Ubuntu 14.04 snapshot), it appears extremely basic programs will compile with jessie's clang-3.5, so all you have to do is: apt-get install clang Note that the swift.org inst…

so actually I'm running into the following error anytime I try to compile something using swiftc with clang-3.6 installed:

  :0: error: opening import file for module 'SwiftShims': No such file or directory

Re: Swift is Open Source

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

That is probably the answer. But to be fair there is no one that knows Swift better than Chris Lattner.

Re: Swift is Open Source

#269

The programming language eco system is really improving rapidly and efficiently. It seemed the developer's toolkit was limited by the languages created 20+ years ago but within the last few years we're seeing a renaissance in developer toolkits as well as development philosophies. Languages like Go, Rust, and now Swift are not only great from almost every aspect over the last generation languages like C, C++, Java, b…

"learning/mastering both Go and Swift is the best decision you can make" is a very bold claim.

In my area we use Go for some systems but found it scales badly from an engineering point of view to larger more complicated systems, compared to languages like Java and Scala. The JVM has much more mature tooling and libraries too.

For mobile applications it will be a while until Swift is stable on Android, so some of the cross platform languages would be a good choice. React Native, Unity, Unreal for example.

Re: Swift is Open Source

#270
It's WAY too slow to load and most pages time-out for me... I understand the hug of death coming from HN and twitter and reddit (and God where from) but this is Apple-backed right?!
Post reply on HN