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. Cherry L. Chen
Abstracting/ Indexing: DBLP, EBSCO, DOAJ, ProQuest, INSPEC, ULRICH's Periodicals Directory, WorldCat, CNKI,etc
E-mail: jcp@iap.org
  • Aug 14, 2017 News!

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

  • Jun 21, 2017 News!

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

  • Jun 14, 2017 News!

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

  • May 24, 2017 News!

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

  • May 24, 2017 News!

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

  • Read more>>