Abstract
JavaScript is the most popular programming language for client-side Web applications, and Node.js has popularized the language for server-side computing, too. In this domain, the minimal support for parallel programming remains however a major limitation. In this paper we introduce a novel parallel programming abstraction called Generic Messages (GEMS). GEMS allow one to combine message passing and shared-memory parallelism, extending the classes of parallel applications that can be built with Node.js. GEMS have customizable semantics and enable several forms of thread safety, isolation, and concurrency control. GEMS are designed as convenient JavaScript abstractions that expose high-level and safe parallelism models to the developer. Experiments show that GEMS outperform equivalent Node.js applications thanks to their usage of shared memory.
Original language | English |
---|---|
Title of host publication | OOPSLA 2016 - Proceedings of the 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications |
Editors | E. Visser, Y. Smaragdakis |
Publisher | Association for Computing Machinery |
Pages | 531-547 |
ISBN (Electronic) | 9781450344449 |
DOIs | |
Publication status | Published - 19 Oct 2016 |
Externally published | Yes |
Event | 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2016 - Amsterdam, Netherlands Duration: 31 Oct 2016 → 1 Nov 2016 |
Conference
Conference | 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2016 |
---|---|
Country/Territory | Netherlands |
City | Amsterdam |
Period | 31/10/16 → 1/11/16 |