News for hackers. Stuff that matters.
Re:Android development has its own Swift by newgame on Tuesday July 22, 2014 @08:21AM (#8068524)
Another, imho, more appealing Swift on Android is Kotlin http://kotlinlang.org/

It shares many features with Xtend but offers more. It has the opposite "problem" wrt IDE support though: Great IDEA support but no Eclipse support.

Re:Android development has its own Swift by artificialidiot on Tuesday July 22, 2014 @08:56AM (#8068655)
I don't know how kotlin fares in practice for android, but I experimented with scala on android a few years back successfully.

The thing is, android doesn't really need a marketing blitz as big for alternative languages to be usable. dex converter did well enough on jvm bytecode.

Re:Android development has its own Swift by jtietema on Tuesday July 22, 2014 @09:17AM (#8068765)
I am building a side project app in Kotlin right now and so far it goes well. There are some minor problems with IDE support (kotlin source folder is not marked as a source folder when mixing Android and Kotlin together), but that is fixed with one click of a button. I really like it!
Re:Android development has its own Swift by lobo42 on Tuesday July 22, 2014 @09:56AM (#8068981)
Kotlin for instance doesn't support something similar to active annotations aka compile-time macros. This is a very powerful concept. Here's an example of an annotation from the Xtendroid project (https://github.com/tobykurien/Xtendroid/blob/master/examples...)
Re:Android development has its own Swift by staltz on Tuesday July 22, 2014 @08:23AM (#8068529)
Does it compile to Java source code?
Re:Android development has its own Swift by theGimp on Tuesday July 22, 2014 @09:05AM (#8068714)
According to the FAQ page, it compiles to Java bytecode.

Is it Java Compatible?

Yes. The compiler emits Java byte-code.

http://kotlin-web-site.jetbrains.org/docs/reference/faq.html

Re:Android development has its own Swift by higherpurpose on Tuesday July 22, 2014 @09:30AM (#8068839)
Does that violate the new ruling in favor of Oracle lately? If not, what if Oracle pursues that in the future, too? If I were Google I'd be like on needles about continuing to support Java on Android, and I'd start looking for a complete replacement (which will take years to come to fruition anyway, so all the more reason to start now).
Re:Android development has its own Swift by sspiff on Tuesday July 22, 2014 @09:07AM (#8068726)
I can't find any information right now, but I believe it statically compiles to Java bytecode, which means it can easily be dex'ed offline.

It wouldn't make sense to not support Android in a JVM language of 2014, honestly.

Re:Android development has its own Swift by billylindeman on Tuesday July 22, 2014 @09:51AM (#8068949)
Kotlin looks amazing! I'm about to try it out.