Live data from Hacker News

The Swift Programming Language

developer.apple.com

131–140 of 970 posts

Re: The Swift Programming Language

#131
post #93

It seems like the only way to view the programming language documentation is on iBooks on an iOS device? For a programming book, this is ridiculous. Edit: The latest version of OS X does support iBooks. Lets hope you have that.

iBooks app is also available on the Mac. As the language is Mac and iOS specific it's not all that crazy.

hah, it seems iBooks is only available on Mavericks. Rather frustrating when I just want to read the documentation.

Re: The Swift Programming Language

#132
post #78

The demo from the WWDC keynote is quite impressive. Unfortunately, this site seems to have been slashdotted. (Basically, Swift is "Apple acquires their own LightTable.") It's touted as a language for parallelism. I'm curious about its concurrency primitives. Since distribution is shown as a top feature, I'm going to guess that it has an Erlang-like actor model. Having ARC and not needing GC will end up being a big fu…

Swift doesn't seem to have anything to do with the parallel language at swift-lang.org. In any case, reference counting is disastrous for the parallelism story. GC thread coming along and causing an additional cache miss is way better than having to do atomic operations on reference counts all the time.

Swift doesn't seem to have anything to do with the parallel language at swift-lang.org.

Whoops. Should've corrected that when I copied the comment over.

In any case, reference counting is disastrous for the parallelism story. GC thread coming along and causing an additional cache miss is way better than having to do atomic operations on reference counts all the time.

Why are atomic reference counts necessary? You wouldn't generally need them with an Erlang-like Actor model or for special concurrency primitives like Go channels. (That is to say, you'd only need them in the special mechanisms.)

Re: The Swift Programming Language

#133

This will revolutionize programming education. Interestingly enough, the time manipulation in Swift was inspired by a game called Braid ( http://en.wikipedia.org/wiki/Braid_(video_game) ) released back in 2009. This will help young programmers solidify the connection between giving the computer logical commands and what is outputted on the screen immediately. Reminds me of how excited I was when Processing ( http://w…

This will also be incredible for ease-of-setup. Install Xcode, and you're ready to go. No other dependencies.

Setting up a dev environment can be one of the big reasons people fail to learn to program.

Re: The Swift Programming Language

#136
This is exciting. I can see myself getting into this. Dabbled with Objective-C but it just didn't excite me.

If Apple's intent is to boost their developer base, this is one tremendous boost. It seems to have the best of both dynamic and static languages.

Re: The Swift Programming Language

#138
post #131

Earlier quoted context omitted.

iBooks app is also available on the Mac. As the language is Mac and iOS specific it's not all that crazy.

hah, it seems iBooks is only available on Mavericks. Rather frustrating when I just want to read the documentation.

Ah, that is dumb. They're bound to put a PDF on the dev centre when it's back online.

Re: The Swift Programming Language

#139
post #37

I'm not even an iOS developer but this is by far the most exciting thing I heard in the keynote. As an amatuer/hobbyist programmer who's self-taught with Ruby, JavaScript, etc., the one thing that was keeping me from experimenting with iOS apps was Objective-C. I know I could tackle it, but it's been hard to take the plunge. I don't know much about Swift yet, but from what I've seen it looks very exciting. So if Appl…

Agreed. I would go so far as to say that this was "one more thing" worthy.

It's definitely more exciting than something like an incremental update to the Apple TV.

Re: The Swift Programming Language

#140
About time! Objective-C is increasingly becoming inadequate for Apple software development. Apple knew that. They finally decided to do something about it. If it goes popular the same as Microsoft C#, that would be a huge win for both Apple and developers.
Post reply on HN