A quantitative comparison between C, C++ and Rust: Loading data in the context of a game engine
2023 (English)Independent thesis Basic level (degree of Bachelor), 20 credits / 30 HE credits
Student 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.
2023-06-112023-06-112023-06-11Bibliographically approved