FYI Kotlin programs on benchmarks game

there are two java-programs for pi

Hopefully there’s someone with enough enthusiasm to contribute a Kotlin program that uses Gmp (like the faster of those Java programs).

This is a lot like extortion.

It’s a lot like crowdsourcing.

What contributors gain from that seems to have a lot to do with their own curiousity —

I will say this, the overall amount of time I’ve spent on writing the Julia benchmarks is far higher than it would have been for someone already familiar with writing high performance code. It’s been a great learning experience for me.

The benchmarckgame link is dead :confused: I would like to see how jdk 15 affect both Java and Kotlin now that it’s released.

JDK 15 does not bring any significant performance improvements.

Still, you need to remember that the benchmark game is a bad way to assess the real-life performance of anything, especially Java/Kotlin.

Kotlin was removed due to lack of interest.

What alternative can you provide to stephane.dubedat ?

In JVM world it is quite easy to compare different JDKs. Just install them both and switch execution. As for micro-benchmarks. We discussed them already and I still do not think they make any sense. Recent experiments with translating K-JVM code to K-N showed that while first such “benchmarks” could show significant degradation in performance, after rewriting the code with some knowledge of the target platform, the performance will be more or less the same everywhere. So it all depends not on what language you use, but on how proficient you are with it. Of course, different languages require different level of experience to write performant code, but this aspect is not measured in the Benchmark game.

1 Like

You don’t seem to have provided any alternative for stephane.dubedat.