Live data from Hacker News

The Swift Programming Language

developer.apple.com

211–220 of 970 posts

Re: The Swift Programming Language

#211
Swift reminded me of CoffeeScript a little, in a good sense (judging by what they showed during WWDC demo). Complexity and low-levelness of Objective-C is (was?) how I justified my reluctance to program for Apple devices, so I'll be looking forward to Swift.

The IDE they demoed looks very interesting on its own—it reminded me of Bret Victor's posts (http://worrydream.com/LearnableProgramming/). Immediate interactive code visualization, quite impressive.

Re: The Swift Programming Language

#212

Earlier quoted context omitted.

I mean the inclusion of Python, seems so random to me It's supposed to be a "mainstream" scripting language. Also, it's an easy way for them to get favorable numbers for their presentation.

Yes. But what has that got to do with writing native apps?

Nothing. Don't look too far into it.

They probably just used python as an example of something most people would know. Its probably the most known scripting language out there so why not use it.

Besides ALL benchmarks are pointless, even when you have the source of the benchmarks and know what they ran on software/hardware wise.

Re: The Swift Programming Language

#214
post #197
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.

Yeah, and iBooks on iOS requires iOS 7. If someone figures out how to get a usable standard ebook file out of this please let me know.

You can update iBooks on iOS 4.3.something to a version that'll read the Swift manual. I'm reading it on my iPad 1 right now.

Re: The Swift Programming Language

#215

https://itunes.apple.com/en/book/swift-programming-language/... (direct link to iBook store). Edit : Changed the link to en. Does anybody have a direct link to the Xcode 6 beta ? Or mirror download link ? Thanks.

Switch nl to your language code for best results. I used en.

Thanks for the direct link!

Re: The Swift Programming Language

#216
post #162
post #84

Still on an Objective-C runtime, so it's hard to see how the performance gains they claim are achievable, but otherwise having an interpreted version should be good for productivity.

Correct me if i'm wrong, but Swift has static typing (with type inference, but still with a strict type on every variable), whereas Objective C has dynamic typing with optional type annotations. Having ubiquitous strong type information available should make it much easier to generate fast code.

Hm, maybe that's it. I thought typing was still dynamic because of the multiple return types.

Re: The Swift Programming Language

#217

So it looks like the language isn't open source and won't target non-Apple runtimes? I'm not trying to troll, I just think that it's a pity that Apple tends to limit the ecosystem and applications of its otherwise-great languages. Building against LLVM ought to make it fairly trivial to make this cross-platform.

Now that Microsoft has been open sourcing so much stuff I was expecting Apple to follow the wave and release Swift as open source too. It's a shame though.

I'm old enough to remember Apple suing Microsoft for "copying their look and feel". Open source is something Apple only does strategically - when they have to or it suits them - it is not part of the company's ethos.

http://en.wikipedia.org/wiki/Apple_Computer,_Inc._v._Microso....

Post reply on HN