Just posted my next article on Medium. It summariz...
# feed
j
Just posted my next article on Medium. It summarizes more than a year of work on my master thesis - "Comparative evaluation of selected constructs in Java and Kotlin". First part is about dynamic metrics/performance. Hope you like it and give me feedback what do you think! https://medium.com/@bards95/comparative-evaluation-of-selected-constructs-in-java-and-kotlin-part-1-dynamic-metrics-2592820ce80
🤔 1
👍 12
h
Thank you for sharing, this is really nice work! I'm looking Forward to the next posts :) there's one thing i don't understand, you say "in contrast to Kotlin, where all those numbers have to be boxed as Integer objects". I don't think this is true and i don't know how you got to this conclusion. Would be interesting to take a look at a flight record to see the allocations, or do you have some heap data somewhere?
a
Good research, yet it is inconclusive. 2-5% difference is not the difference you should build your conclusions on. Also, Computer language benchmark game is known not to be quite friendly with JVM. For example, it does not use JMH so the results do not properly account for VM warmup.