Live data from Hacker News

Swift Has Reached 1.0

developer.apple.com

101–110 of 180 posts

Re: Swift Has Reached 1.0

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

If Apple does it correctly, 1.0 means that there will be no backward incompatibilities until a hypothetical version 2.0.

As a user of a not yet 1.0 language (Elixir, though it has reached release candidate status), backward incompatibilities can be a pain to deal with. The reason: third-party libraries that may or may not be updated, more or less quickly.

And yet it's absolutely necessary to get things right while you design the language, because every single mistake will be carried forward practically forever: see Python 3 as to why it's really hard to fix a language...

Re: Swift Has Reached 1.0

#102

I can't believe Apple would release a brand-new language with zero baked-in support for concurrency. In this day and age? Looks like developers will have to resort to 2nd grade efforts like GCD. I just don't get it. There's no excuse for it. Port Go's channels and go-routines to it, or something else, but come on - it's 2014, not 1998?

I don't really thing GCD counts as "2nd grade" - have you actually used it? It's really nice.

Re: Swift Has Reached 1.0

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

Your brother should instead use a programming language with a cross-platform, free software implementation.

Re: Swift Has Reached 1.0

#104
So, what kind of 1.0 release is this?

- It's Keynote time/September 9, so we call what we have, crashing bugs included, 1.0.

- We culled the features that do not work reliably yet, polished the good parts, and called it 1.0.

- This is a/the set of features that we consider to form a good product, and all features work reasonably well.

Re: Swift Has Reached 1.0

#105
post #65
post #60

Earlier quoted context omitted.

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.

Well, 1930's functional programming. Those techniques developed into various type theories pretty quickly (at the time for foundational reasons, but also for comprehension/management/expressiveness reasons).

Or if you have a more strict reading, Lisp is implementation-driven FP in the 70s compared to theory-driven FP from the time.

Re: Swift Has Reached 1.0

#106
post #7

Stupid question but is Swift just compiled into Objective-C? I'm asking because I'd like to know if I can write an app in Swift that can run on iOS6.

Swift is just a fresh new language which is compiled statically just like C/C++.

Swift's Objective-C compatibility mode is a kind of ugly extension feature to support their legacy code. The compiler makes inter-op stuffs automatically.

You can target only down to 7.0 because Apple set the goal of 7.0. There should be some stuffs required to support Swift, anyway it doesn't matter unless you're a runtime engineer. Point is earlier than 7.0 is out of support by Apple.

Re: Swift Has Reached 1.0

#107
post #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.... )

[deleted]

Re: Swift Has Reached 1.0

#108
post #90

Earlier quoted context omitted.

C# is in front of all three in mobile space (it compiles to native of course). C# is the only language that is both modern and spans all major mobile platforms. http://en.wikipedia.org/wiki/Xamarin

Sure. But Xamarin is hardly open-source, and what OP was looking for was a open-sourced tool-chain & stack for mobile development.

You can't even build Xamarin's sample project without demoing a commercial license, because the sample project is falls outside the app size restriction.

Re: Swift Has Reached 1.0

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

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

Oh, you sweet summer child. Work with a language without closures and try to do anything functional.

Re: Swift Has Reached 1.0

#110
post #56

Earlier quoted context omitted.

Their live feed yesterday was only available on Safari. Isn't it obvious that they want their herd only inside of a barn?

I don't get why this is down-voted. I think it is excellent point. My thoughts exactly when tried to view the live stream.

[deleted]
Post reply on HN