Performance analysis of languages working on Java Virtual Machine based on Java, Scala and Kotlin


Abstract

This article presents the results of a literature study related to the construction and operation of Java Virtual Machine, as well as performance tests of selected languages using the aforementioned runtime environment on the example of Java, Scala and Kotlin. Performance testing was carried out using two applications built using the Apache Maven archetype with the built-in Java Microbenchmark Harness library.


Keywords

Java; Scala; Kotlin; JVM

Data is beautiful: Most popular programming languages 1965 - 2019 https://www.youtube.com/watch?v=Og847HVwRSI [18.10.2019]

TechCrunch.com: Google makes Kotlin a first class language for writing android apps https://techcrunch.com/2017/05/17/google-makes-kotlin-a-first-class-language-for-writing-android-apps/ [18.10.2019]

B. Evans, Java: The Legend, Wydawnictwo O’Reilly Media, Sebastopol 2015

J. Engel, Programming for the Java™ Virtual Machine, Addison Wesley, Boston 1999

T. Lindholm, The Java Virtual Machine Specification. Java SE 8 Edition, Oracle Parkway, Redwood City 2014

Hunt C., John B.: Wydajność Javy, Wydawnictwo Helion, Gliwice 2013

J. Kubryński, Co każdy programista Java powinien wiedzieć o JVM, Programista, Nr 3/2015, s. 24-27

Tutorials.Jenkov.com: JMH - Java Microbenchmark Harness http://tutorials.jenkov.com/java-performance/jmh.html [09.02.2020]

Dokumentacja Apache Maven https://maven.apache.org/guides [09.02.2020]

Dokumentacja języka Scala https://docs.scala-lang.org/ [12.01.2020]

Dokumentacja języka Kotlin https://kotlinlang.org/docs/reference/ [26.01.2020]

Dokumentacja normy RFC 5322 https://tools.ietf.org/html/rfc5322 [29.02.2020]

Medium.com, J. Anioł - Java vs. Kotlin — Part 1: Performance: https://medium.com/rsq-technologies/comparative-evaluation-of-selected-constructs-in-java-and-kotlin-part-1-dynamic-metrics-2592820ce80 [12.03.2020]

The Computer Language Benchmarks Game: Java versus Kotlin fastests programs https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/java-kotlin.html [12.03.2020]

Download

Published : 2020-06-30


Buszewicz, K. (2020). Performance analysis of languages working on Java Virtual Machine based on Java, Scala and Kotlin. Journal of Computer Sciences Institute, 15, 189-195. https://doi.org/10.35784/jcsi.1609

Katarzyna Buszewicz  buszewicz.katarzyna@gmail.com
  Poland