News for hackers. Stuff that matters.
Re:Java 16 by kaba0 on Tuesday March 16, 2021 @04:27PM (#26482404)
But I fear kotlin will fall in-between all the platforms they try to support, and will end up comparatively bad on all. Like, you can’t really target both your coroutines on each platform as well as project loom properly, same with project Valhalla and the like.
Re:Java 16 by ragnese on Tuesday March 16, 2021 @04:43PM (#26482667)
Why can't coroutines take full advantage of Loom's green threads on JVM and do other stuff on Native/JS/whatever?

I generally agree that being multiplatform is a lofty goal. And as much as I like Kotlin, it clearly inherits some of Java's (IMO) deficiencies. I'm not sure why I'd want those deficiencies exported to my native code when I could use lots of other nice languages.

Re:Java 16 by BoyRobot777 on Tuesday March 16, 2021 @05:22PM (#26483162)
I think Loom can be abstracted away by Kotlin quite easily. Valhalla on the other hand won't work at all. You won't be able to have inline classes in android/older Java versions. Even more - specialized generics.