Live data from Hacker News

Swift Has Reached 1.0

developer.apple.com

61–70 of 180 posts

Re: Swift Has Reached 1.0

#61
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?

Apple opensoucred their Objective-C compiler only because the GPL on the GCC forced them. They invested a lot in the BSD licenced LLVM. I don't think they did this just for fun, but to avoid they have to do that.

Re: Swift Has Reached 1.0

#62
post #61
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?

Apple opensoucred their Objective-C compiler only because the GPL on the GCC forced them. They invested a lot in the BSD licenced LLVM. I don't think they did this just for fun, but to avoid they have to do that.

You do realise that the clang part of llvm includes the Objective C compiler and it's under the BSD license as well?

Re: Swift Has Reached 1.0

#63
post #60
post #58

Earlier quoted context omitted.

They didn't need Swift for real world examples. F#, Scala, OCaml, Haskell, Clojure already have uses at big financial corporations and bio-informatics. However, Swift is another great way for spreading the ML gospel to mainstream developers, specially if it slowly takes Objective-C's place in Apple's heart.

Does Clojure support pattern matching? AFAIK, the only thing that is "functional" about Clojure is its immutable data structures (and closures, but even JS has those).

It has a support for destructuring, but no true pattern matching. Given the lack of algebraic data types, there's the question on what pattern matching would be supposed to match on.

Re: Swift Has Reached 1.0

#64
post #52
post #46

Earlier quoted context omitted.

What do you mean?

"You’ll notice we’re using the word “GM”, not “final”. That’s because Swift will continue to advance with new features, improved performance, and refined syntax" Typically, when people say that a language "reached 1.0", they mean the very end of that process.

> Typically, when people say that a language "reached 1.0", they mean the very end of that process.

That's wrong for practically all cases I know of (Java, C#, Python, Perl).

Re: Swift Has Reached 1.0

#65
post #60
post #58

Earlier quoted context omitted.

They didn't need Swift for real world examples. F#, Scala, OCaml, Haskell, Clojure already have uses at big financial corporations and bio-informatics. However, Swift is another great way for spreading the ML gospel to mainstream developers, specially if it slowly takes Objective-C's place in Apple's heart.

Does Clojure support pattern matching? AFAIK, the only thing that is "functional" about Clojure is its immutable data structures (and closures, but even JS has those).

Funny to call a Lisp dialect functional between quotes. When Lisp and lambda calculus are the very genesis of FP.

Yes, Lisp can do pattern matching, usually implemented via macros,

In Clojure you use the core.match library.

Re: Swift Has Reached 1.0

#67

Earlier quoted context omitted.

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 suppo…

RTSP doesn't go through firewalls easily. That's pretty much why Apple invented HLS. It's a nice, minimalist solution to adaptive bitrates that uses standard HTTP to get the job done. Big players such as the BBC have adopted the standard (ugh, I'm writing a client for it right at the moment!), so it's not a particularly fair categorisation to label this as a purely Apple thing.

Re: Swift Has Reached 1.0

#68
post #55
post #36

Earlier quoted context omitted.

Yep, we damn need a bit of more competition within bigs, right now seems just between Google and Mozilla (for the type of language).

What competition?!? Until either of them support their languages on their respective OSs there isn't any competition.

I think without the supporting runtime libraries also being open-source, there isn't any point in open-sourcing the language is there?

I mean, look at GNUStep. Not widespread adoption.

Re: Swift Has Reached 1.0

#69
post #58

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?"…

They didn't need Swift for real world examples. F#, Scala, OCaml, Haskell, Clojure already have uses at big financial corporations and bio-informatics. However, Swift is another great way for spreading the ML gospel to mainstream developers, specially if it slowly takes Objective-C's place in Apple's heart.

[deleted]

Re: Swift Has Reached 1.0

#70
post #55

Earlier quoted context omitted.

What competition?!? Until either of them support their languages on their respective OSs there isn't any competition.

I think without the supporting runtime libraries also being open-source, there isn't any point in open-sourcing the language is there? I mean, look at GNUStep. Not widespread adoption.

Agreed. I gave up following GNUStep back in 2003, the last time I used WindowMaker as my window manager.
Post reply on HN