Back to the futures

James Swaine, Kevin Tew, Peter Dinda, Robert Bruce Findler, Matthew Flatt
2010 SIGPLAN notices  
Many language implementations, particularly for high-level and scripting languages, are based on carefully honed runtime systems that have an internally sequential execution model. Adding support for parallelism in the usual formas threads that run arbitrary code in parallel-would require a major revision or even a rewrite to add safe and efficient locking and communication. We describe an alternative approach to incremental parallelization of runtime systems. This approach can be applied
more » ... nsively to many sequential runtime systems, and we demonstrate its effectiveness in the Racket runtime system and Parrot virtual machine. Our evaluation assesses both the performance benefits and the developer effort needed to implement our approach. We find that incremental parallelization can provide useful, scalable parallelism on commodity multicore processors at a fraction of the effort required to implement conventional parallel threads.
doi:10.1145/1932682.1869507 fatcat:jndou4fktbhezeemeszyq46p2e