首页    期刊浏览 2025年02月21日 星期五
登录注册

文章基本信息

  • 标题:A Comparison of Five Programming Languages in a Graph Clustering Scenario
  • 作者:Martin Stein ; Andreas Geyer-Schulz
  • 期刊名称:Journal of Universal Computer Science
  • 印刷版ISSN:0948-6968
  • 出版年度:2013
  • 卷号:19
  • 期号:3
  • 页码:428-456
  • 出版社:Graz University of Technology and Know-Center
  • 摘要:The recent rise of social networks fuels the demand for efficient social web services,whose performance strongly benefits from the availability of fast graph clustering algorithms. Choosing a programming language heavily affects multiple aspects in this domain, such as run-time performance, code size, maintainability and tool support. Thus, an impartial comparison can provide valuable insights that are also useful for software development in general. This article in-vestigates the languages C++, Java, C#, F# and Python (as well as its close variant Cython) in a controlled scenario: In each language, a graph clustering task is implemented and executed. Thepaper introduces the problem to be solved and gives an overview over the different characteristics of the languages. After a detailed description of the testing environment, we report runtime,memory and code size results and discuss them with respect to the characteristics mentioned before. The findings indicate C++ as the fastest language for the challenge at hand, but they alsoshow that Java, C# and F# come close under some circumstances. Furthermore, it becomes clear that the amount of code can be significantly reduced with modern languages like Python or F#.
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有