Live data from Hacker News

Swift Has Reached 1.0

developer.apple.com

21–30 of 180 posts

Re: Swift Has Reached 1.0

#21
post #3

My brother has been using swift to learn some programming. I don't have a mac, let alone iTunes. Is there a legal way for me to download/purchase a manual to help him with his progress?

https://developer.apple.com/swift/resources/ has lots of helpful info, including ebooks and videos.

Re: Swift Has Reached 1.0

#22
post #4
post #3

My brother has been using swift to learn some programming. I don't have a mac, let alone iTunes. Is there a legal way for me to download/purchase a manual to help him with his progress?

The language manual is free at apple.com

And it's quite a good manual at that. Starts with a high-level overview of language features in plain English, then provides a firehose of nitty-gritty.

Re: Swift Has Reached 1.0

#23

Earlier quoted context omitted.

Apple's stream is just HTTP Live Streaming with H.264 IIRC. Which means the issue is quite clearly with Google and their insistence on using VP8/WebM instead of what almost every other company is using.

Safari is the only browser that implements HLS except recent Android. Chrome does support H.264 in HTML5.

I think HLS is pretty awesome and this hasn't anything to do with HTML5 as what Chrome supports doesn't allow for live streaming, which is why sites like Twitch still use flash for Chrome. Chrome should support HLS, but they aren't going to for anything but Android, so flash it is for the foreseeable future. If anyone knows why or where I am mistaken I would like to know.

Re: Swift Has Reached 1.0

#24
Hey guys, do you know if swift will be ever open-sourced? After the WWDC they said that was early to think about it while in beta. So, what's the status now?

Re: Swift Has Reached 1.0

#25
post #3

My brother has been using swift to learn some programming. I don't have a mac, let alone iTunes. Is there a legal way for me to download/purchase a manual to help him with his progress?

I posted this to HN the other day and people seemed to like it: http://www.runswiftlang.com/learn

It'll let you run Swift code from your browser. The Learn page gives you a short run down of some features as well (I'm in the middle of writing up content for it, what's there now is a placeholder really, just the basics) and links to more documentation from Apple.

Re: Swift Has Reached 1.0

#26

Earlier quoted context omitted.

Safari is the only browser that implements HLS except recent Android. Chrome does support H.264 in HTML5.

I think HLS is pretty awesome and this hasn't anything to do with HTML5 as what Chrome supports doesn't allow for live streaming, which is why sites like Twitch still use flash for Chrome. Chrome should support HLS, but they aren't going to for anything but Android, so flash it is for the foreseeable future. If anyone knows why or where I am mistaken I would like to know.

The issue is not black and white. Why should Chrome implement Apple HLS, rather than Adobe HDS, Microsoft SmoothStreaming, or MPEG DASH, among other HTTP streaming formats? What about RTSP -- a protocol designed for streaming, which Android had good support for in the video tag?

In any case, live streaming in Chrome is possible with WebM, or even WebRTC. Flash is not ideal either, but at least it has consistent support on the desktop.

Re: Swift Has Reached 1.0

#27
post #20

Earlier quoted context omitted.

Apple's stream is just HTTP Live Streaming with H.264 IIRC. Which means the issue is quite clearly with Google and their insistence on using VP8/WebM instead of what almost every other company is using.

H.264 is still not part of the open web.

despite the generic sounding name, neither is HTTP Live Streaming. HLS is a unstandardized protocol written by Apple

Re: Swift Has Reached 1.0

#28
post #3

My brother has been using swift to learn some programming. I don't have a mac, let alone iTunes. Is there a legal way for me to download/purchase a manual to help him with his progress?

www.sososwift.com has been my go-to.

Beware, some of the vids are probably out-dated. It was my experience that every version of XCode6beta that came out broke my app with syntax or object-access type changes. I just downloaded XCode6GM and a bunch of stuff I was doing with "as NSArray" forced me to do "as? NSArray". And self.navigationController.navigationBar needed a "?" appended to controller, otherwise you'd get the very confusing build error saying something like "navigationController has no member called navigationBar".

Re: Swift Has Reached 1.0

#29
I am not the biggest Apple fan in the world, and will probably not use Swift professionally, but I'm still super enthused about it as a language and I am glad it's entering the marketplace. We're going to have sum types and type inference in a mainstream language! For the first time, professors can teach a language like SML and have a good response to the question "so how is this going to help me in the real world?" I really, genuinely hope this will lead to better choices of languages in introductory programming classes.

Re: Swift Has Reached 1.0

#30
post #24

Hey guys, do you know if swift will be ever open-sourced? After the WWDC they said that was early to think about it while in beta. So, what's the status now?

Open-sourcing it would be really cool to see. Chris Lattner last said he wasn't sure if they were going to open source it (http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-June/073698....)
Post reply on HN