Högskolan i Skövde

his.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • apa-cv
  • 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
A quantitative comparison between C, C++ and Rust: Loading data in the context of a game engine
University of Skövde, School of Informatics.
2023 (English)Independent thesis Basic level (degree of Bachelor), 20 credits / 30 HE creditsStudent thesisAlternative title
En kvantitativ jämförelse mellan C, C++ och Rust : Inladdning av data i ett spelkontext (Swedish)
Abstract [en]

Comparisons of programming languages within a game engine context are rare, and the data that exists usually only compare the most prominent languages of their time. C, C++ and Rust are three comparable languages, with C and C++ being two of the older, but very high performing, languages. Rust is a newer language that focuses lesson pointers and has most of its overhead during compile time, making it a language that can stand up to both C and C++.

The intention of this study was to find what language performs the best when loading data in a simulated game engine. This was done by creating three engines in C, C++ and Rust respectively and then running the same set of tests in each of them.

The result showed that C performed the fastest, with Rust falling slightly behind. It was also shown that C++ could not keep up with either of them.

Place, publisher, year, edition, pages
2023. , p. 36
Keywords [en]
Rust, c, c++, loading, asynchronous, synchronous
National Category
Information Systems, Social aspects
Identifiers
URN: urn:nbn:se:his:diva-22662OAI: oai:DiVA.org:his-22662DiVA, id: diva2:1765615
Subject / course
Informationsteknologi
Educational program
Computer Game Development - Programming
Examiners
Note

Det finns övrigt digitalt material (t.ex. film-, bild- eller ljudfiler) eller modeller/artefakter tillhörande examensarbetet som ska skickas till arkivet.

There are other digital material (eg film, image or audio files) or models/artifacts that belongs to the thesis and need to be archived.

Available from: 2023-06-11 Created: 2023-06-11 Last updated: 2023-06-11Bibliographically approved

Open Access in DiVA

fulltext(908 kB)333 downloads
File information
File name FULLTEXT01.pdfFile size 908 kBChecksum SHA-512
b32bb1a7a910a29e1c742d488c72cc0352bfea266aa5612918088f10bafa5427dc558b07460fde770bb9cc74c0d1a53b7d6cc948f83aa22a5c15230655b8ee72
Type fulltextMimetype application/pdf

By organisation
School of Informatics
Information Systems, Social aspects

Search outside of DiVA

GoogleGoogle Scholar
Total: 333 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: 688 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • apa-cv
  • 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