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.
Again, why would any Android developer choose Swift? Kotlin also runs fine on the server and it even compiles to Javascript.
If I were a startup doing an iOS, Android, and a backend I would do either Go or Rust on the backend. You will be able to distribute a native lib with your Android or iOS that shares network and model logic. Go and Rust both are planning on supporting cross compilation to iOS and Android.
That would leave you with Kotlin/Groovy/Clojure/Scala for the view layer of your Android app if you choose not use Java. Which is a good idea since there is no indication from Google Java 8 will be supported which means no lambdas unless you use an alt JVM language. On iOS you write your view layer in Swift. Both apps use the shared binary library.
I will say that it It looks very promising so far, and seems to have the best of C# and Ruby, assuming you're sticking with compile-time type checking, plus a few more tricks besides. I'm not that up on JVM languages though, so I'm not sure that it's definitively better than any of the other choices.
Open the rosettacode web site. Choice any algorithm you are familiar with. Place Go version and Java version. Compare the number of words and lines.
Compare the Maven hell with how Go solves the same problems.
(I also don't agree that the deployment story for the JVM and Go are similarly complex, but that's a different argument).
Power consumption.
- 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...
All of these objective-C developers changed nothing for non-ios crowd. Why would swift be different?
(based on http://www.informatica.co.cr/linux/research/1992/0222.htm)
I'm not saying this because of anything to do with Apple's Swift announcement. I'm saying this because it'll be a huge benefit to Android.
How so?
The language has a weaker type system than Java, doesn't support exceptions and requires error checking every other line, has very poor tool support (because the compiler was not designed with IDE's in mind).
Except maybe add a few developers who refused to write code on Android because of Java, I really don't see what Go would bring to Android.
> when you can use better languages like Kotlin, Scala, Groovy, Clojure is asinine
You seem to be piggybacking an aspiring JVM language (Kotlin) on top of three other alternative ones that have already made it (Scala,Groovy,Clojure). Because that trick's already been done before with them (i.e. Groovy piggybacked on the quality of Scala and Clojure), it makes your list of examples of alternative JVM languages seem disingenuous.
I agree with your last sentence, however.
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 bigger Swift community will be.
All bets are off if Google officially supports Go on Android.
Anyway, 1,000,000 Swift developers will change everything.