Go's Concurrency Constructs on the SCC - Archive ouverte HAL Access content directly
Conference Papers Year : 2012

Go's Concurrency Constructs on the SCC

Abstract

We present an implementation of goroutines and channels on the SCC. Goroutines and channels are the building blocks for writing concurrent programs in the Go programming language. Both Go and the SCC share the same basic idea--the use of messages for communication and synchronization. Our implementation of goroutines on top of tasks reuses existing runtime support for scheduling and load balancing. Channels, which permit goroutines to communicate by sending and receiving messages, can be implemented efficiently using the on-die message passing buffers. We demonstrate the use of goroutines and channels with a parallel genetic algorithm that can utilize all cores of the SCC.
Fichier principal
Vignette du fichier
MARC6_Gos-Concurrency-Constructs-on-the-SCC.pdf (454.24 Ko) Télécharger le fichier
Origin : Explicit agreement for this submission

Dates and versions

hal-00718924 , version 1 (18-07-2012)

Identifiers

  • HAL Id : hal-00718924 , version 1

Cite

Andreas Prell, Thomas Rauber. Go's Concurrency Constructs on the SCC. The 6th Many-core Applications Research Community (MARC) Symposium, Jul 2012, Toulouse, France. pp.2-6. ⟨hal-00718924⟩

Collections

MARCONERA2012
312 View
488 Download

Share

Gmail Facebook X LinkedIn More