C
C
Chvalov2016-04-11 09:48:15
Android
Chvalov, 2016-04-11 09:48:15

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

6 answer(s)
D
Denis Zagaevsky, 2016-04-11
@zagayevskiy

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.

V
Vlad, 2016-04-11
@disablesilence

Until there is a go-ahead from Google, it is pointless to discuss this news.
In my opinion, more Kotlin than Swift.

T
Tiberal, 2016-04-11
@Tiberal

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)

A
Alexander Kosarev, 2016-04-21
@jaxtr

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.

O
OnYourLips, 2016-04-11
@OnYourLips

Look at the publication date of the news.

A
Alexander, 2016-04-11
@alexyat

On the one hand, it will be cool if one code works on both platforms.

It will be, but it will not become easier, because. frameworks are different for writing programs, in iOS UIKit, in android it is not, as a result, you will have to write an interface from 0.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question