Change search
ReferencesLink to record
Permanent link

Direct link
Scala Actors: Unifying thread-based and event-based programming
EPFL, Switzerland.ORCID iD: 0000-0002-2659-5271
EPFL, Switzerland.
2009 (English)In: Theoretical Computer Science, ISSN 0304-3975, Vol. 410, no 2-3, 202-220 p.Article in journal (Refereed) Published
Abstract [en]

There is an impedance mismatch between message-passing concurrency and virtual machines, such as the JVM. VMs usually map their threads to heavyweight OS processes. Without a lightweight process abstraction, users are often forced to write parts of concurrent applications in an event-driven style which obscures control flow, and increases the burden on the programmer. In this paper we show how thread-based and event-based programming can be unified under a single actor abstraction. Using advanced abstraction mechanisms of the Scala programming language, we implement our approach on unmodified JVMs. Our programming model integrates well with the threading model of the underlying VM.

Place, publisher, year, edition, pages
2009. Vol. 410, no 2-3, 202-220 p.
Keyword [en]
Actors, Concurrent programming, Events, Threads
National Category
Computer Science
URN: urn:nbn:se:kth:diva-165597DOI: 10.1016/j.tcs.2008.09.019ISI: 000263228000006ScopusID: 2-s2.0-58149350265OAI: diva2:808633

QC 20150505

Available from: 2015-04-29 Created: 2015-04-29 Last updated: 2015-05-05Bibliographically approved

Open Access in DiVA

No full text

Other links

Publisher's full textScopus

Search in DiVA

By author/editor
Haller, Philipp
In the same journal
Theoretical Computer Science
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
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

Altmetric score

Total: 14 hits
ReferencesLink to record
Permanent link

Direct link