Live data from Hacker News

Google, it's time – We want Scala for Android

blog.madhukaraphatak.com

11–20 of 148 posts

Re: Google, it's time – We want Scala for Android

#13
post #2

I agree that Google should add more languages to android. And while Scala is a great language, it's very complex - so it won't benefit many of the less skilled users. A better language would be something with the simplicity and power of python, but with good performance.Groovy could be one such language.

Just because Scala has features that are tricky to get your head around if you're not familiar with functional programming, it doesn't mean it's complex to write software in. You can write Scala that's basically Java with less syntax if you want.

I think that's what's so great about Scala, Python and other languages that mix OO and functional elements; you don't have to throw away Java and pick up Haskell, you can start experimenting with other styles as you go.

Re: Google, it's time – We want Scala for Android

#17
post #8
post #3

My bet is for golang.

Current design of Android makes any non-JVM language a rather illogical and problematic choice. Writing JNI bridges for everything and reboxing costs would be prohibitive.

Android's target machine is google's dalvik vm, and not the jvm.

Re: Google, it's time – We want Scala for Android

#20
Um, people have already been able to use Scala to make Android applications. Just about anything that doesn't require dynamically generated JVM bytecode can manage, difficult and error-prone as it is.

If we're talking about official support, then I'd rather Java 8 instead. And beefing up ART even more.

Post reply on HN