News for hackers. Stuff that matters.
Re:Kotlin 1.4 by coldtea on Tuesday August 18, 2020 @10:13AM (#24198760)
>I think JetBrains thinks too much of themselves, fueled with Google wind, they are now trying to turn Kotlin into a platform of their own

Given that you champion so many niche (and often commercial) languages/platforms with 1/1000th the devs and reach, isn't this a little contradictory?

>and as proven by Kotlin/Native, their expertise is really just making IDEs.

What exactly did "Kotlin/Native" has proven and in what way?

Re:Kotlin 1.4 by pjmlp on Tuesday August 18, 2020 @10:16AM (#24198810)
That isn't up to the game versus JVM or any existing AOT compiler for Java.

It compiles slower, doesn't produce machine code of the same quality and requires a separate semantic model for heap management, the reason why recently they had a blog post about having to redesign it.

EDIT: Exactly for my experience with those languages and what went wrong with their adoption is why I will never use anything that isn't a platform language on production code. Either it comes with the platform SDK or no bother.

In Kotlin's case that is Android, as long as Google doesn't do one of their reboots and decides to focus on ChromeOS or Fuchsia instead.

Re:Kotlin 1.4 by eptcyka on Tuesday August 18, 2020 @11:08AM (#24199567)
Android is OS agnostic, barring the NDK - I don't think it's too far fetched to see ChromeOS and Android be ported to Fuchsia in due time.
Re:Kotlin 1.4 by kllrnohj on Tuesday August 18, 2020 @11:14AM (#24199643)
Android is highly coupled to Linux, and this is visible at various places in the SDK such as: https://developer.android.com/reference/android/system/Os?hl...

But even just behaviorally it doesn't pretend to be OS agnostic at all. Setting thread priorities isn't even abstracted, it's just "uses the Linux values for this" https://developer.android.com/reference/android/os/Process#s...

That doesn't prevent building an abstraction layer and plopping Android onto a different kernel, of course. After all that's what Microsoft did with WSL.

Re:Kotlin 1.4 by pjmlp on Wednesday August 19, 2020 @05:43AM (#24208701)
That is POSIX, nothing to do with Linux.
Re:Kotlin 1.4 by hitekker on Tuesday August 18, 2020 @01:27PM (#24201495)
As Android engineer since 2013, I'll say this is patently untrue. It is really difficult to get Android to work on non Linux OS's without virtualization.
Re:Kotlin 1.4 by pjmlp on Tuesday August 18, 2020 @11:41AM (#24200012)
It has already been ported, that doesn't mean it would be more than a backwards compatibility story.