Change search
ReferencesLink to record
Permanent link

Direct link
Java jämfört med C#, vilken sorterar snabbast på Raspberry Pi?
University West, Department of Engineering Science, Division of Computer, Electrical and Surveying Engineering.
2015 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Java compared to C#, which sorts fastest on Raspberry Pi? (English)
Abstract [sv]

I denna studie skall Java och C# ställas mot varandra och köras på en Raspberry Pi för att se vilken av dem som kan sortera heltalsvektorer snabbast. Som Java-motor kommer Hot-Spot att användas och Mono för C# och de ska sortera vektorer med sorteringsalgoritmer från språkens stödbibliotek och en implementerad algoritm baserad på urvalssortering.

Detta arbete är till för att dem som vill arbeta med ett objektorienterat språk på Raspberry Pi, men inte har bestämt sig än för vilket som skall användas. Resultatet visar att Java presterar bättre än C# i de flesta fall och att det finns undantag då C# presterar bättre.

Abstract [en]

In this study, Java and C# is set against each other and running on a Raspberry Pi to see if they have similar processing times, or if there is a clear difference between the two languages.

As Java-engine HotSpot will be used and Mono for C# and they will sort vectors with sorting algorithms from the language's support library and one implemented algorithm based on selection sort. This work is for those who want to work with an object-oriented language on Raspberry Pi, but has not decided yet on which one to choose. The result shows that Java performs better than C# in most cases, but in some cases C# is performing better.

Place, publisher, year, edition, pages
2015. , 15 p.
Keyword [en]
Java, C#, C sharp, Raspberry Pi, Raspbian, Benchmark, Microbenchmark, HotSpot, Mono, Linux, sorting algorithms
Keyword [sv]
Java, C#, C sharp, Raspberry Pi, Raspbian, Benchmark, Microbenchmark, HotSpot, Mono, Linux, Sorteringsalgoritmer
National Category
Engineering and Technology
URN: urn:nbn:se:hv:diva-8246Local ID: EDT501OAI: diva2:856848
Subject / course
Computer enigeering
Educational program
Datateknisk systemutveckling
Available from: 2015-09-28 Created: 2015-09-25 Last updated: 2016-05-23Bibliographically approved

Open Access in DiVA

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

By organisation
Division of Computer, Electrical and Surveying Engineering
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 18 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

Total: 122 hits
ReferencesLink to record
Permanent link

Direct link