Answer the question
In order to leave comments, you need to log in
Is it difficult to migrate from Java to Swift?
I saw the news that Google plans to switch to Swift or Kotlin due to a protracted trial with Oracle.
But Swift will be the fastest because Kotlin loses in performance.
Now Swift has gained enough popularity, there is a lot of training material in Russian.
+ Main language for iOS development.
On the one hand, it will be cool if one code works on both platforms, but on the other hand, everything that is currently available for Android will need to be rewritten.
I would like to know how difficult it will be to switch from Java to Swift and is it worth starting to learn it ahead of time?
And what do you think about this?
UPD: Swift is Objective-C and Google has a Java language converter(including Android) in Objective-C
Answer the question
In order to leave comments, you need to log in
I also read this news. I wonder who Kotlin loses to, if sometimes it is even faster than Java (more optimal), at least not slower, because it compiles into Java bytecode, but there is no Swift for Android. And what do they plan to compile swift into, if not into the same bytecode? In native coulters? And how to interact with regular libs? Through the native interface?
In short, a cloudy perspective, more questions than answers, I would not (and do not plan to) rush into Swift.
As for the complexity of the transition - everything is very individual. I will be able to switch in a couple of weeks to write normal code, IMHO. You can see how much time you spend on it.
Until there is a go-ahead from Google, it is pointless to discuss this news.
In my opinion, more Kotlin than Swift.
This is a throw! Androyd thoroughly stuck to the JVM, and Google programmers will turn gray while I rewrite the existing code in swift. The qualifications and awareness of the payer (who is fond of programming in swift, as he writes) leaves much to be desired. And in the direction of Kotlin, Google will not rock the boat until those build times are corrected, but they are already muddying something there)
The article is a goofy stuffing, and stuffing from a Swift developer (there is just no comment here). So the adequacy of the article is a big question.
As for the question - a good programmer does not care what language to write in. The logic is the same everywhere, the difference is only in the syntax and basic features of the language.
Well, about the future of Android, Google itself has already told - Android N will work with OpenJDK . So Android will not go anywhere from Java, at least in the coming years.
On the one hand, it will be cool if one code works on both platforms.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question