News for hackers. Stuff that matters.
Re:Try the new try.haxe by csande17 on Sunday February 28, 2021 @01:44AM (#26291203)
Yup! With its JavaScript and JVM targets, it simultaneously manages to be a better TypeScript than TypeScript and a better Kotlin than Kotlin.
Re:Try the new try.haxe by EvilEy3 on Sunday February 28, 2021 @03:34AM (#26291696)
> better Kotlin than Kotlin

Kotlin has JVM, Native and JS targets. And as a language it is much better than Haxe, I would be careful about such statements.

Re:Try the new try.haxe by smrq on Sunday February 28, 2021 @03:51AM (#26291768)
Hmm. Did you just make an equal but opposite statement, while cautioning against making just such a statement in the very same sentence?

(I have no opinion on the argument, never having used either language. I just found the rhetoric funny.)

Re:Try the new try.haxe by EvilEy3 on Sunday February 28, 2021 @04:24AM (#26291942)
Exactly, haha.
Re:Try the new try.haxe by pjmlp on Sunday February 28, 2021 @07:49AM (#26293038)
Kotlin/Native is a special snowflake that by being built on an incompatible memory model with the JVM, now has been forced back into the dev board as the amount of issues kept pilling up.

You cannot just pick a random Java library, even if pure logic code, one of the Kotlin FFI selling points and use it with Kotlin/Native, if it wasn't originally written with Kotlin/Native memory model in mind.

Re:Try the new try.haxe by Gama11 on Sunday February 28, 2021 @04:56AM (#26292112)
I work with Kotlin at my day job but am also active in the Haxe open source community. I really like both languages, and I don't think that Kotlin is objectively better than Haxe.

In practice, there are things about Haxe I miss in Kotlin, but also things about Kotlin I miss in Haxe. Just to name a few examples:

- I'm missing Haxe's pattern matching and macros in Kotlin

- I'm missing Kotlin's level of IDE support and robust null safety (with ?: and ?. operators) in Haxe

(Haxe does have experimental opt-in null safety, but it doesn't seem production-ready yet)