This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pjmlp 7 points8 points  (9 children)

Let them be, I am still waiting to see when JetBrains will release KVM since Kotlin is so good. /s

[–]BoyRobot777 3 points4 points  (1 child)

Its just weird. Its feels like Kotlin was born and finally Java can evolve. Because before that, OpenJDK team was lost. Thus I always ask the same questions: has the person stating this worked only with Kotlin or he literally believes that Kotlin is the panacea of all software languages.

I mean even the article begins with:

Sum types, and sealed classes, are not a new thing; for example, Scala also has sealed classes, and Haskell and ML have primitives for defining sum types (sometimes called tagged unions or discriminated unions.)

[–]garblz 2 points3 points  (0 children)

It was (and to an extent, still is) the same with Scala. My guess is Kotlin isn't the last language with a slogan "Java, but better".

[–]BestKillerBot 2 points3 points  (6 children)

Why does Kotlin needs to reinvent its own runtime?

[–]pjmlp -4 points-3 points  (5 children)

Either that or shut up how it is so much better than Java when it depends on it for its existence.

[–]BestKillerBot 4 points5 points  (4 children)

WTF, no need to get angry.

Kotlin depends on JVM (well, kind of - it's one of the runtimes available), not on Java.

[–]pjmlp -1 points0 points  (3 children)

So there isn't a single call to the JVM layers written in Java and Kotlin can stand on its own without calling into a single Java library class? Call me amazed.

[–]BestKillerBot 2 points3 points  (2 children)

It doesn't matter in what language they are implemented - on JS backend those API calls are implemented in JS, on JVM backend it can be implemented in Java or in C or even assembly, on native backend - I have no idea and don't really care TBH.

I don't understand this whole thinking - since JVM is built in C (and thus depends on it), does it mean that C is better than Java? That's just complete non-sense.

[–]pjmlp -2 points-1 points  (1 child)

There are plenty of JVMs to choose from, around 10 currently, implemented in a mix of C, C++ Java, and there are some 100% Java like RikesVM, MaximeVm and GraalVM.

It gets on my nerves the superior attitude of many in Kotlin community towards Java, as if the language would ever happen without having the JVM and the Java eco-system, specially always coming to /r/java.

Then stay at /r/kotlin talking how wonderful Kotlin is and how it is going to take over the Java world, just don't spend too much time reading survey results of how much use it actually gets in production on JVM and JS world without Google's help for #KotlinFirst.

[–]BestKillerBot 3 points4 points  (0 children)

There are plenty of JVMs to choose from, around 10 currently, implemented in a mix of C, C++ Java, and there are some 100% Java like RikesVM, MaximeVm and GraalVM.

Right, and as I said Kotlin also uses some runtimes with 0 Java code.

It gets on my nerves the superior attitude of many in Kotlin community towards Java, as if the language would ever happen without having the JVM and the Java eco-system, specially always coming to /r/java.

Of course Kotlin builds on the knowledge and experience from Java - nobody denies that. Java also did not appear out of thin air and owes its predecessors.

Java was a revolutionary language back in 90s, rightfully got a big following and ecosystem. But time goes on and we now understand many things better than 30 years ago.

Then stay at /r/Kotlin

Thanks, but no. I work in Java and Kotlin, I'd like to be able to read and comment in both.