Live data from Hacker News

The Kotlin Foundation

kotlinlang.org

191–200 of 236 posts

Re: The Kotlin Foundation

#191
post #99

I started using Java in the 90's and worked for Sun back in the day, so I have a reasonable amount of experience with it. Kotlin is a much better Java, and these days if I need to use the JVM, I will use Kotlin. However, I do feel that there is a huge missed opportunity in making something that is not just a better Java, but a better language. Kotlin has a lot of annoying limitations, almost all of which are there be…

> Another thing I'd like to see changed is better support for DSL's I keep waiting for a good solution for SQL in Java (or another language) that isn't a builder or a string with templating. I don't like what React does architecturally, but JSX shows how mixing languages in an elegant-ish way can be huge.

Exposed is a Kotlin SQL library that you might be interested in.

Re: The Kotlin Foundation

#192
post #95

Earlier quoted context omitted.

I've been writing Kotlin professionally for the past 2 years. I'd highly recommend it as a worthy successor to Java. It's very powerful and thoughtfully designed. Java just feels so old and clunky after using it. I've not had the pleasure but I hear Scala is great too.

So is there a Kotlin Virtual Machine already available?

It runs on the JVM. That's one of its selling points. :)

Re: The Kotlin Foundation

#193
Kotlin as a competitive next gen language

In order for Kotlin to be taken seriously outside Android, especially in relation to Swift/Rust as a native language, it needs a few changes.

1. Make the compiler native binary and competitive with other languages for startup times outside Gradle workflow.

2. Support linux CLI and make/cake work flow as a first class citizen.

3. Support Linux as a host for Kotlin multiplatform mobile. Right now C is the only true multiplatform language

I made a post on Kotlin forums on this topic if anyone here wants to take it up.

Re: The Kotlin Foundation

#194
post #99

I started using Java in the 90's and worked for Sun back in the day, so I have a reasonable amount of experience with it. Kotlin is a much better Java, and these days if I need to use the JVM, I will use Kotlin. However, I do feel that there is a huge missed opportunity in making something that is not just a better Java, but a better language. Kotlin has a lot of annoying limitations, almost all of which are there be…

This reminds me - a Java language architect was asked what his favorite non-Java JVM language is. He said Clojure because it's not trying to just be a "better Java".

https://www.youtube.com/watch?v=ZyTH8uCziI4&t=2896

Re: The Kotlin Foundation

#195

Kotlin as a competitive next gen language In order for Kotlin to be taken seriously outside Android, especially in relation to Swift/Rust as a native language, it needs a few changes. 1. Make the compiler native binary and competitive with other languages for startup times outside Gradle workflow. 2. Support linux CLI and make/cake work flow as a first class citizen. 3. Support Linux as a host for Kotlin multiplatfor…

Kotlin is definitely already taken seriously outside of Android. Anecdotally most of the devs I talk to in the web dev world see it as a possible replacement for Ruby/Node.

Re: The Kotlin Foundation

#196

Earlier quoted context omitted.

Sorry for the off-topic post: Is there a good way to get non-paywalled access to this? It says I can read it if I register but today that's just one step too many for me ("_Another_ account? Really? sigh " :) ) I'm kinda curious to know why anyone is trying to start a new search engine(s), given both Google and Bing. (But apparently not curious enough to give my email address to Yet Another Website :) )

Copy title, paste into search engine box and access from the search engine list. It seems FT wants to get the traffic and the indexing more than money from subscription.

Huh. That worked really well.

I feel like a goofball for not trying that myself, but appreciate the advice/tip. Thanks!

Re: The Kotlin Foundation

#197
post #100

Earlier quoted context omitted.

Life experience of seeing guest languages come and go, during the last 30 years, and never succeeding in the goal to replace platform languages. On the contrary, platform languages slowly acquire the relevant features of the shiny languages, which eventually either fade away or find a niche for survival. Kotlin will be relevant as long as Android exists, that is all.

Scala, Clojure, and Groovy are all mature languages that haven't gone anywhere. No one has a goal of replacing Java, and they all benefit from improvements to the JVM.

Of the JVM languages, AFAIK only Kotlin is making a serious push to get off the JVM using something like LLVM. Interesting idea, though I wonder how long they can preserve compatibility between JVM and native targets.

Scala native doesn't feel like it has the same impact, perhaps in part due to a lack of momentum (as I perceive it).

Re: The Kotlin Foundation

#199
post #198

Earlier quoted context omitted.

It runs on the JVM. That's one of its selling points. :)

So Kotlin is useless without Java then, unable to stand on its own.

It’s a great language to use instead of Java...especially for things that have to run on the JVM, or Android.

Re: The Kotlin Foundation

#200
post #198

Earlier quoted context omitted.

So Kotlin is useless without Java then, unable to stand on its own.

It’s a great language to use instead of Java...especially for things that have to run on the JVM, or Android.

Syntax sugar on the JVM, as it is never to be more than a blip on the Java Virtual Machine.

As for the Android Runtime, Android team is gatekeeping Android Java on Java 8 subset on purpose, as means to serve their political games to push Kotlin no matter what.

Kotlin without godfather Google will just fade away.

Post reply on HN