TigerQuoll: parallel event-based JavaScript

TitleTigerQuoll: parallel event-based JavaScript
Publication TypeConference Paper
Year of Publication2013
AuthorsBonetta, D., W. Binder, and C. Pautasso
Conference NameProceedings of the 18th ACM SIGPLAN symposium on Principles and practice of parallel programming (PPoPP ’13)
Pages251–260
MonthFebruary
PublisherACM
Conference LocationShenzhen, China
ISBN978-1-4503-1922-5
KeywordsJavaScript, Parallel JavaScript, TigerQuoll
Abstract

JavaScript, the most popular language on the Web, is rapidly moving to the server-side, becoming even more pervasive. Still, JavaScript lacks support for shared memory parallelism, making it challenging for developers to exploit multicores present in both servers and clients. In this paper we present TigerQuoll, a novel API and runtime for parallel programming in JavaScript. TigerQuoll features an event-based API and a parallel runtime allowing applications to exploit a mutable shared memory space. The programming model of TigerQuoll features automatic consistency and concurrency management, such that developers do not have to deal with shared-data synchronization. TigerQuoll supports an innovative transaction model that allows for eventual consistency to speed up high-contention workloads. Experiments show that TigerQuoll applications scale well, allowing one to implement common parallelism patterns in JavaScript.

DOI10.1145/2442516.2442541
Citation Keypjs:2014:ppopp
Refereed DesignationRefereed