Volume 13 Number 4 (Apr. 2018)
Home > Archive > 2018 > Volume 13 Number 4 (Apr. 2018) >
JCP 2018 Vol.13(4): 426-441 ISSN: 1796-203X
doi: 10.17706/jcp.13.4.426-441

Multithreading in .Net and Java: A Reality Check

Andrej Zentner1, Robert Kudelić2
1Siemens, Republic of Croatia.
2Faculty of Organization and Informatics, Republic of Croatia.


Abstract—Due to the availability of powerful computers and improved parallelization algorithms, multithreading has become a valid choice for software development. Therefore, it is worthwhile to compare the currently most widely used development environments to determine which of them yields better performance in terms of multithreading. In this paper we tested the multithreading performance of .Net C# and Java, which are probably the two most frequently used languages for software development today. We were surprised by these results as we expected that C#, which is optimized only for Windows OS, would be faster. However, Java, although it is intended to be a programming language well-suited for different operating systems, proved to be faster in all the tests. The obtained results provide insight into the current state of optimization of each of the two languages and are also valuable in selecting the language to be used for programming today's complex software systems.

Index Terms—Java, multithreading, net c#, performance comparison.

[PDF]

Cite: Andrej Zentner, Robert Kudelić, "Multithreading in .Net and Java: A Reality Check," Journal of Computers vol. 13, no. 4, pp. 426-441, 2018.

General Information

ISSN: 1796-203X
Frequency: Monthly (2006-2014); Bimonthly (Since 2015)
Editor-in-Chief: Prof. Liansheng Tan
Executive Editor: Ms. Nina Lee
Abstracting/ Indexing: DBLP, EBSCO,  ProQuest, INSPEC, ULRICH's Periodicals Directory, WorldCat, CNKI,etc
E-mail: jcp@iap.org
  • Apr 24, 2018 News!

    Vol 13, No 8 has been published with online version   [Click]

  • Dec 26, 2017 News!

    Vol 12, No 1-N0 5 has been indexed by EI (Inspec)     [Click]

  • Dec 26, 2017 News!

    Vol 11, No 4-N0 6 has been indexed by EI (Inspec)     [Click]

  • Dec 21, 2017 News!

    Vol 13, No 7 has been published with online version 12 papers are published in this issue after peer review   [Click]

  • Sep 26, 2017 News!

    Papers published in JCP Volume 12 have all been indexed by DBLP   [Click]

  • Read more>>