News for hackers. Stuff that matters.
Re:Flappy Bird in Swift by hellbreakslose on Tuesday June 03, 2014 @06:29AM (#7839178)
Swift looks fine, the only thing I don't like its that is for Apple only products... that kinda defeats the purpose of having a programming language.
Re:Flappy Bird in Swift by craigching on Tuesday June 03, 2014 @09:10AM (#7839909)
> Swift looks fine, the only thing I don't like its that is for Apple only products... that kinda defeats the purpose of having a programming language.

Tell that to Microsoft ;)

Re:Flappy Bird in Swift by prakashk on Tuesday June 03, 2014 @11:04AM (#7840593)
Apple is the new Microsoft.
Re:Flappy Bird in Swift by chipotle_coyote on Tuesday June 03, 2014 @11:19AM (#7840701)
There are many programming languages that in practice tend to be locked to one platform or another. C# isn't only on Windows and Objective-C isn't only on iOS, but very few people learn either of those languages with the expectation of "write once, run anywhere." (I've found that generally people who use C# on other platforms do so because they already know C# and don't want to learn something else.)

On principle I'd like to see Apple put Swift under a free software license of some kind and ideally make a cross-platform reference implementation, but realistically, even if they do that it's unlikely to ever get wide use anywhere but Apple products.

Re:Flappy Bird in Swift by unfamiliar on Tuesday June 03, 2014 @06:48AM (#7839237)
You can write code for non-apple products, its just that the libraries are lacking. I don't see how this defeats "the purpose of a programming language".
Re:Flappy Bird in Swift by hellbreakslose on Tuesday June 03, 2014 @05:26PM (#7842828)
apple fanboys keep downvoting!
Re:Flappy Bird in Swift by mnem on Tuesday June 03, 2014 @08:12AM (#7839597)
Good luck compiling Objective-C on Windows :)
Re:Flappy Bird in Swift by mdellabitta on Tuesday June 03, 2014 @08:50AM (#7839778)
Pretty sure you can compile Objective-C on Windows, since gcc supports it, and OpenStep worked on Windows.

It's Apple's libraries you don't get on Windows.

Re:Flappy Bird in Swift by matthewmacleod on Tuesday June 03, 2014 @10:36AM (#7840426)
Re:Flappy Bird in Swift by mnem on Wednesday June 04, 2014 @07:59AM (#7845044)
Ye-es, except:

  "Apple has recently added new functionality to their runtime, including built-in exception handling, etc. Hopefully these will be ported to the GNU runtime in the future."
My general point is that programming languages don't have to be cross platform to be useful. Certainly handy from a developer's point of view, but just a convenience.