Live data from Hacker News

Android now supports Kotlin

venturebeat.com

61–70 of 225 posts

Re: Android now supports Kotlin

#61
post #5

Well this looks like going to push Kotlin in big league. I remember scala enthusiasts made big noise in last few years to have scala as officially supported language. But Google seems to prefer a closer relationship with Jetbrains.

I vastly prefer Kotlin over Scala. Kotlin is probably more productive for a typical dev or team.

Re: Android now supports Kotlin

#62
post #52
post #14

Earlier quoted context omitted.

I think Go is never going to be officially supported on Android. Dart, though, seems more likely as it is Java like VM based language. Go is going to have better support on Fuchsia OS from Google.

I don't doubt that Fuchsia will support Go, but Dart appears to already be Fuchsia's officially preferred userspace language (via Flutter).

Indeed. It seems preferred way for Fuchsia UI side. Go is more of infrastructure plumbing there. As someone who mainly work on backend stuff in enterprise apps I am happy with this situation.

What I am not happy with this whole browser platform embedded in frontend apps and called native and amazing. But that's for another discussion:-)

Re: Android now supports Kotlin

#63
post #46

Would be lovely if they officially supported Clojure too.

I'd love that too, but there is a startup time overhead with the Clojure runtime. Given the moves Google's made in recent wrt moving away from JIT for startup time reasons, this would be challenging.

Re: Android now supports Kotlin

#65
post #57

Good move. Out with possible null pointers everywhere for no freaking reason at all. It's 2017. Apple did a great job with Swift but launched it when it wasn't mature yet but Kotlin will have JetBrains level of IDE support from the get go so and it's mature already only a luddite would stay with Java.

Apple released Swift early (June 2014) so that it could be used in real programs, and so that developers could provide feedback. You weren't, and still aren't, forced to use it. Although, it seems to have matured enough in 3 years to the point where it's probably the best iOS development language.

Kotlin was released in 2011. I bet that if Google had adopted it three years ago, it would have helped accelerate Kotlin adoption and Kotlin would be even further along today, having a much larger developer community.

Re: Android now supports Kotlin

#66
post #2

Funny, I was messing around with Kotlin for the first time last night. So far, the language seems well-structured and I really like that one gets all of Java's ecosystem without actually having to write java. (Also, "override fun" just sounds hilarious. Bwaha!) Throw in TornadoFX and Gluon Scene Builder (formerly of Oracle) and you're spinning up high-quality cross-platform GUIs faster than Atom, with a visual editor…

The problem is its performance on the device and size overhead is horrible. Javafxpackager is just about the worse too. Check out Codename One which is more like Swing but far more robust. The GUI builder isn't as refined as scene builder but the final product actually works everywhere and far more portable than anything else.

Codename one "Professional Edition" is $79 per month! Basic is $19 per month... As a kind of "indie" developer that is very expensive. Gluon Mobile is not much less expensive at $42 per month. Still, free edition looks better than Codename 1 free edition.

Wondering if Jetbrains will release Kotlin/Native for a set price or charge monthly like most companies are doing these days.

Re: Android now supports Kotlin

#67

I'm assuming that this is going to work natively via LLVM, as Kotlin's original target was JVM bytecode, which should work fine on Android right now.

Today, Android cross-compiles JVM bytecode to its own non-JVM bytecode; I'd assume they'll continue using a two-stage approach for Kotlin.

Kotlin claims future capability for "Native" applications. I assume that this is separate from "Android" applications, even if these are compiled to native instructions.

Re: Android now supports Kotlin

#69

Earlier quoted context omitted.

The problem is its performance on the device and size overhead is horrible. Javafxpackager is just about the worse too. Check out Codename One which is more like Swing but far more robust. The GUI builder isn't as refined as scene builder but the final product actually works everywhere and far more portable than anything else.

Codename one "Professional Edition" is $79 per month! Basic is $19 per month... As a kind of "indie" developer that is very expensive. Gluon Mobile is not much less expensive at $42 per month. Still, free edition looks better than Codename 1 free edition. Wondering if Jetbrains will release Kotlin/Native for a set price or charge monthly like most companies are doing these days.

Codename One is open source and has a free edition without nag screen or any license restrictions. For that $19 you get more platforms and no need for a Mac etc.

Re: Android now supports Kotlin

#70

What does it mean being "supported", given that one already can use Kotlin on Android?

Well, if you work in a more conservative company, you can use this as a way to get the "powers that be" to allow the use of Kotlin. It's basically an endorsement of the language by a company that everyone has heard of.
Post reply on HN