Surprising, but good news. When Swift was originally announced, I suggested on HN that if they didn't open source it, long term, it would go "the way of Flash" -- eventually, developers would abandon it in favor of more open platform technologies. https://news.ycombinator.com/item?id=7851583
“Swift will be open source later this year”
231–240 of 573 posts
Re: “Swift will be open source later this year”
#232I will surely be downvoted for speaking so off the cuff, but I haven't really enjoyed swift so far. How has the general developer reception been to the language, not just with respect to obj-c, but also to java or any other turing complete language?
I think it's terrible. Parsing a JSON response into a Swift object takes a full-day to figure out when it's literally just JSON.parse(response) in any other language. You can't pass immutable structures (structs) into NSNotifications and I can't figure out why. It's confusing and poorly documented, and a complete chore to use. React Native is a godsend.
let parsed: AnyObject? = NSJSONSerialization.JSONObjectWithData(data,
options: NSJSONReadingOptions.AllowFragments,
error:&parseError)Re: “Swift will be open source later this year”
#233Re: “Swift will be open source later this year”
#234Earlier quoted context omitted.
They said it will happen by the end of 2015.
They said they would make facetime an open standard. Still waiting.
Re: “Swift will be open source later this year”
#235Earlier quoted context omitted.
Too little too late. Apple could have got my attention if they had done this from the start, but at this point I find it hard to get excited about this. Half the reason I find myself drawn to a new language is the culture and community surrounding it. You might think this seems silly at first glance, they're programming languages, not fraternities. But hear me out. Golang is a pragmatic crowd. Go into #go-nuts on fre…
Hey, look me up in a year and explain why you were wrong. Go has been out for 6 years and has less than 10,000 questions on StackOverFlow: http://stackoverflow.com/questions/tagged/go Swift has 37,000 questions in its first year: http://stackoverflow.com/questions/tagged/swift I'm a fan of Go. I built my websites in it and I've written a few small apps. However, you really are overlooking how much of a difference the…
- https://github.com/search?l=go&q=stars%3A%3E-1&ref=searchres...
- https://github.com/search?l=swift&q=stars%3A%3E-1&ref=search...
- https://github.com/search?l=rust&q=stars%3A%3E-1&ref=searchr...
Re: “Swift will be open source later this year”
#236Ah, interesting. I've suddenly gone from "Not caring at all about the existence of this language" to "Mildly intrigued." It's amazing what some opening of control will do.
You can be sure Apple will remain the exclusive ruler of what goes into Swift.
Re: “Swift will be open source later this year”
#237Swift on Rails, who's first :) ? I suspect Heroku are working on preparing for an out of the box build pack, but I guess they don't have access yet since it's out late 2015. At least I hope so, looking for a better Ruby replacement but I still like Rails.
I never considered this! But it's fun to think about! I'm a bit naive about the environments languages have to run in... but if we have a web app framework in Swift, Servers in swift (as mentioned in comments above), and iOS in swift, doesn't that make Swift a JS replacement too?
Re: “Swift will be open source later this year”
#238Earlier quoted context omitted.
What? Do you realize how far Java reaches into the enterprise? And with Swift's focus still being around the walled garden of iOS/OSX development, even with the open sourcing there are many more "IFs" to achieve before Swift rivals Java in adoption. Don't get me wrong. I don't use Java and I have made apps for iOS (though not with Swift yet unfortunately). I like Swift and intend on trying it. But rivaling Java? Cert…
Yes, I've done Java in the enterprise. It's a 20 year old language and there's an estimated 9 million Java developers. Swift is only one1 but with open source and cross-platform ability (Microsoft will port to Windows), I think we have several million Swift developers with 5 years. [Update] 30 -> 20
20.
Re: “Swift will be open source later this year”
#239Earlier quoted context omitted.
Too little too late. Apple could have got my attention if they had done this from the start, but at this point I find it hard to get excited about this. Half the reason I find myself drawn to a new language is the culture and community surrounding it. You might think this seems silly at first glance, they're programming languages, not fraternities. But hear me out. Golang is a pragmatic crowd. Go into #go-nuts on fre…
Hey, look me up in a year and explain why you were wrong. Go has been out for 6 years and has less than 10,000 questions on StackOverFlow: http://stackoverflow.com/questions/tagged/go Swift has 37,000 questions in its first year: http://stackoverflow.com/questions/tagged/swift I'm a fan of Go. I built my websites in it and I've written a few small apps. However, you really are overlooking how much of a difference the…
If I started writing an HTTP server in Swift the day it comes out I won't find much help but I'll have a mountain of unrelated answers to filter. Essentially Swift's adoption for iOS apps doesn't help and might hurt efforts to use it elsewhere.
Look at Object-C: extremely common writing software for Apple; almost non-existent elsewhere, despite the fact that it has never been limited to Apple.
Re: “Swift will be open source later this year”
#240Earlier quoted context omitted.
Supporting Linux is a surprise, but I think it's a great move on their part. Think: How many iOS apps are frontends to a server API? And how many of those APIs are running on Linux servers? Swift on Linux means ~all the code for a client-server iOS app can be written in the same language.
So here's the thing. They will release Apple Music for Android... and there's full stdlib of Swift support for Linux? Could it be that the Android app is partly Swift?
Android ships with Bionic libc, which is different from the glibc that is usually shipped in a Linux distro. There are definitely some differences between the two.
Plus the average Android app is very far from the average Linux app. If they were aiming at supporting Android, I think they would have said that instead of Linux.