Please use this identifier to cite or link to this item: http://hdl.handle.net/10455/2901
Title: Compiling the $\pi$-calculus into a Multithreaded Typed Assembly Language
Author: Cogumbreiro, Tiago
Martins, Francisco
Vasconcelos, Vasco T.
Issue Date: May-2008
Publisher: Department of Informatics, University of Lisbon
Series/Report no.: di-fcul-tr-08-13
Abstract: Current trends in hardware made available multi-core CPU systems to ordinary users, challenging researchers to devise new techniques to bring software into the multi-core world. However, shaping software for multi-cores is more envolving than simply balancing workload among cores. In a near future (in less than a decade) Intel prepares to manufacture and ship 80-core processors; programmers must perform a paradigm shift from sequential to concurrent programming and produce software adapted for multi-core platforms. In the last decade, proposals have been made to compile formal concurrent and functional languages, notably the $\pi$-calculus, typed concurrent objects, and the $\lambda$-calculus, into assembly languages. The last work goes a step further and presents a series of type-preserving compilation steps leading from System F to a typed assembly language. Nevertheless, all theses works are targeted at sequential architectures. This paper proposes a type-preserving translation from the $\pi$-calculus into MIL, a multithreaded typed assembly language for multi-core/multi-processor architectures. We start from a simple asynchronous typed version of the $\pi$-calculus and translate it into MIL code that is then linked to a run-time library (written in MIL) that provides support for implementation of the $\pi$-calculus primitives (e.g., queuing messages and processes). In short, we implement a message-passing paradigm in a shared memory architecture
URI: http://hdl.handle.net/10451/14195
http://repositorio.ul.pt/handle/10455/2901
Appears in Collections:FC-DI - Technical Reports

Files in This Item:
File Description SizeFormat 
08-13.pdf447,76 kBAdobe PDFView/Open


FacebookTwitterDeliciousLinkedInDiggGoogle BookmarksMySpace
Formato BibTex MendeleyEndnote 

Items in Repository are protected by copyright, with all rights reserved, unless otherwise indicated.