Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Performance evaluation for choosing between Rust and C++
Blekinge Institute of Technology, Faculty of Computing, Department of Software Engineering.
2023 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Developers face numerous challenges in their careers, including the critical decision of choosing the most suitable programming language to tackle these challenges. Each programming language presents its unique set of advantages and disadvantages, making the decision-making process complex. This study focuses on one such decision – the selection between Rust and C++ which are both systems programming languages with significant emphasis on performance.

Rust, an emerging and increasingly popular language, offers a compelling alternative to the more established C++. To aid practitioners in making an informed decision, this study explores the performance differences between Rust and C++ through three distinct experiments: matrix multiplication, merge sort, and file I/O operations.

The experiments reveal that C++ demonstrates significantly faster performance in matrix multiplication. Conversely, Rust showcases superior performance in merge sort, with both languages performing similarly overall. The findings pertaining to file operations were mixed, with C++ exhibiting shorter execution times for file reading, while Rust displayed an advantage in writing larger file sizes.

By shedding light on these performance disparities, this study aims to assist developers in their decision-making process when selecting between Rust and C++.

Place, publisher, year, edition, pages
2023.
Keywords [en]
C++, Rust, evaluation
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:bth-24686OAI: oai:DiVA.org:bth-24686DiVA, id: diva2:1761754
Subject / course
PA1445 Kandidatkurs i Programvaruteknik
Educational program
PAGPT Software Engineering
Supervisors
Examiners
Available from: 2023-06-19 Created: 2023-06-01 Last updated: 2023-06-19Bibliographically approved

Open Access in DiVA

Performance evaluation for choosing between Rust and C++(492 kB)2064 downloads
File information
File name FULLTEXT01.pdfFile size 492 kBChecksum SHA-512
808db1721a71735028de3da40cc4d26cfb36b01138e723243ad6c7a96c53563eae7f24552d33a5c64904f124ab7cf8834876562e7a927b3cff40b534112f180d
Type fulltextMimetype application/pdf

By organisation
Department of Software Engineering
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 2064 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 708 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf