Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Parallel programming in Go and Scala: A performance comparison
Blekinge Tekniska Högskola, Fakulteten för datavetenskaper, Institutionen för programvaruteknik.
2015 (engelsk)Independent thesis Basic level (degree of Bachelor), 10 poäng / 15 hpOppgave
Abstract [en]

    This thesis provides a performance comparison of parallel programming in Go and Scala. Go supports concurrency through goroutines and channels. Scala have parallel collections, futures and actors that can be used for concurrent and parallel programming. The experiment used two different types of algorithms to compare the performance between Go and Scala. Parallel versions of matrix multiplication and matrix chain multiplication were implemented with goroutines and channels in Go. Matrix multiplication was implemented with parallel collections and futures in Scala, and chain multiplication was implemented with actors.

    The results from the study shows that Scala has better performance than Go, parallel matrix multiplication was about 3x faster in Scala. However, goroutines and channels are more efficient than actors. Go performed better than Scala when the number of goroutines and actors increased in the benchmark for parallel chain multiplication.

    Both Go and Scala have features that makes parallel programming easier, but I found Go as a language was easier to learn and understand than Scala. I recommend anyone interested in Go to try it out because of its ease of use.

sted, utgiver, år, opplag, sider
2015. , s. 56
Emneord [en]
Go, Scala, parallelism, concurrency
HSV kategori
Identifikatorer
URN: urn:nbn:se:bth-996OAI: oai:DiVA.org:bth-996DiVA, id: diva2:824741
Fag / kurs
PA1418 Bachelor's Thesis - Large Team Software Engineering Project
Utdanningsprogram
PAGPT Software Engineering
Veileder
Examiner
Tilgjengelig fra: 2015-06-29 Laget: 2015-06-22 Sist oppdatert: 2018-01-11bibliografisk kontrollert

Open Access i DiVA

fulltext(722 kB)1735 nedlastinger
Filinformasjon
Fil FULLTEXT03.pdfFilstørrelse 722 kBChecksum SHA-512
a423f562336b52213676b64d2cf582ae32c05092c3e32dcdec1d932c7f9f046e8fac2b1024c63dc87b9f2ccfa2258a836f760e5c909bd4b5459ebc21cadf1c2a
Type fulltextMimetype application/pdf

Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar
Totalt: 1741 nedlastinger
Antall nedlastinger er summen av alle nedlastinger av alle fulltekster. Det kan for eksempel være tidligere versjoner som er ikke lenger tilgjengelige

urn-nbn

Altmetric

urn-nbn
Totalt: 2297 treff
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf