+ 3
Develop Cross-Platform and Web apps with Java or Kotlin?
I was starting to learn Kotlin, as a beginner in programming, in order to develop an app for a school project. Because in my school there are Android and iOS users, I have to develop a cross platform app, since I do not have time to learn switch and Objective C is a bit too difficult for now. I did some research and many suggest starting with Java, instead of Kotlin... I would need a language that is crossplatform (as Kotlin) but can be used for Web apps too. Which language should I learn first? Thanks!
9 Antworten
+ 8
If you can do it in Java, technically it can be done in Kotlin since the language operates on the Java virtual machine. In any case with Java you can do web development (Spring) and you can develop for Android and perhaps for IOS (check the link at the end). With Kotlin you could do a little more in web development, since you can use Kotlin JS, but I really do not think the difference is much.
https://medium.com/@mateusz_bartos/write-ios-apps-in-java-along-with-android-900d6013f83f
+ 4
They both runs in java virtual machine. You can use java libraries with kotlin.
I've heard that with kotlin you need 40% less code than with java and that you could also compile it to javascript.
Try it. it's newer and probably more used on the future.
+ 3
You can use javascript on unity
+ 1
I think for a cross platform app, it’s easier to use a game engine, like Unity or Unreal Engine because it makes sure that the same program works for both and you don’t have to worry about compatibility or the features of the phone/os
+ 1
No C# in unity (which is almost the same as java, like there were lawsuits because everyone thought C# copied java)
+ 1
Unreal uses a visual scripting language (which is really easy to learn) and/or C++
+ 1
Thank you Mickel!
0
Thanks, Is Java used to program in Unity or Unreal Engine?
0
Thank you Tony