Live data from Hacker News

The Swift Programming Language

developer.apple.com

341–350 of 970 posts

Re: The Swift Programming Language

#341
post #315

I just skimmed the tour, and my impression is: Swift is a compiled, Objective-C compatible Javascript-alike with an ObjC-like object model, generics, and string interpolation. No exceptions. Based on LLVM and appears to inherit the same data structures as Cocoa apps (Dictionaries, Arrays, &c). It feels very lightweight, sort of like an analog to what Javascript is in a browser.

It's also apparently super fast, and implicitly typed, and designed for safety.

[deleted]

Re: The Swift Programming Language

#347

First question that comes to mind: how open is this language? (I can't find any references to it)

Swift was developed internally at Apple.

In the intro of the book "The Swift Programming Language," which Apple just released on Itunes Book store, it says:

“Swift has been years in the making. Apple laid the foundation for Swift by advancing our existing compiler, debugger, and framework infrastructure. We simplified memory management with Automatic Reference Counting (ARC). Our framework stack, built on the solid base of Foundation and Cocoa, has been modernized and standardized throughout. Objective-C itself has evolved to support blocks, collection literals, and modules, enabling framework adoption of modern language technologies without disruption.”

Book is available here:

https://itunes.apple.com/us/book/swift-programming-language/...

Re: The Swift Programming Language

#349
post #338

Earlier quoted context omitted.

It's probably a wise decision to have an "Algol patterned" language. No non Algol patterned language has ever become a mainstream programming language to my knowledge.

I am not a programming language wonk; so I imagine most languages I am familiar-with/know-of are necessarily Algol patterned. What are some non-Algol patterned languages?

Lisp, Forth, Prolog (and Erlang), Smalltalk, Haskell, and Tcl all come to mind.

Re: The Swift Programming Language

#350
post #254

Question: It sounds like the Xcode 6 beta is available on the dev center but I can't find it. Do you have to be a paying developer to have access to it, or does anyone know if it's going to be made available for free to (unpaid) registered developers?

To access the Xcode 6 beta you must be a registered developer. Non-beta releases of Xcode are free to all.
Post reply on HN