Haven't had a chance to look at the docs for it yet, but will LLVM be the compiler for it and will it support compiling Swift into its native bytecode?
The Swift Programming Language
291–300 of 970 posts
Re: The Swift Programming Language
#292I'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
#293So 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.
Re: The Swift Programming Language
#294“You also don’t need to write semicolons at the end of every statement.” Please. Please. PLEASE don't be whitespace delimited!
Please. Please. PLEASE don't be whitespace delimited! One of the prime examples I give for how HN/reddit has gone downhill was being downvoted by some clueless hipsters for suggesting that it would be easy to cross-compile from a whitespace-delimited language to a non-whitespace-delimited one. It's not some kind of huge fundamental divide in languages. For any non-whitespace delimited context free language, it should…
That said, whoever downvoted you for that reaffirms my belief that HN should have limited metamoderation with some kind of exponential backoff of mod privileges for egregiously poor moderation.
Re: The Swift Programming Language
#295Swift has a built in option type “if let actualNumber = possibleNumber.toInt() { println("\(possibleNumber) value: \ (actualNumber)") } else { println("\(possibleNumber) could not be converted to an integer") }” Nice to see the Apple's language developers embracing functional programming by providing a clean implementation of the Maybe Monad as well as support for closures.
Re: The Swift Programming Language
#296Re: The Swift Programming Language
#297Earlier quoted context omitted.
[deleted]
Yes, it's funny that people didn't pick up on Apple potentially doing more with it when his demo made the rounds a few years back.
Re: The Swift Programming Language
#298So 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.
[deleted]
Re: The Swift Programming Language
#299Re: The Swift Programming Language
#300In other news, has Android killed iOS yet so we can stop worrying about Apple? Can't happen soon enough.