Hacker News new | past | comments | ask | show | jobs | submit login

I would just add one more thing - I doubt there is another language where you write native apps for Android, iOS and Web sharing 70% of the code: http://arstechnica.com/information-technology/2014/11/how-go...



From the JVM side, we have: Scala, Clojure, Groovy, Kotlin, etc thanks to RoboVM.

From the CLR side, we have C# and F# thanks to Xamarin.

Even the worst language among the six I have listed is still far better than the verbosity of Java.


AS3 - with AIR for publishing on mobile - with SWF to publish on the web (for desktop browsers)

and I would argue with the added bonus that you can share the UI without an horrible result


C++ (Using something like emscripten for the web)

Although, i'd pick java over C++ unless i'm doing some very performance critical


While true, it is a pain on Android, given how the Android team treats the C and C++ developers.

The official set of APIs is quite limited and JNI is required for any app that isn't a game.

Even C++ libraries that are wrapped in Java classes, like SKIA, are only accessible via JNI.


C#, with Xamarin.


You can add Windows and OS X to that list.

(Although the Google Inbox team didn't produce a Windows or OS X native client, there's no doubt that such a client could have run the java code shared between Android, iOS and Web)



JS?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: