Actors That Unify Threads and Events
2007 (English)In: Coordination Models and Languages, 2007, 171-190 p.Conference paper (Refereed)
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 implemented our approach on unmodified JVMs. Our programming model integrates well with the threading model of the underlying VM.
Place, publisher, year, edition, pages
2007. 171-190 p.
, SFX(opens in a new window)| Export | Download | More... Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), ISSN 0302-9743 ; 4467
IdentifiersURN: urn:nbn:se:kth:diva-165586DOI: 10.1007/978-3-540-72794-1_10ISI: 000247339500010ScopusID: 2-s2.0-37149007729ISBN: 978-3-540-72793-4OAI: oai:DiVA.org:kth-165586DiVA: diva2:808615
9th International Conference on Coordination Models and Languages, COORDINATION 2007
QC 201505052015-04-292015-04-292015-05-05Bibliographically approved