Cost-Directed Refactoring for Parallel Erlang ProgramsChristopher Brown, Marco Danelutto, Kevin Hammond, Peter Kilpatrick, Archibald Elliott
September 2013 • Journal Paper • International Journal of Parallel Programming ← Publications
This paper presents a new programming methodology for introducing and tuning parallelism in Erlang programs, using source-level code refactoring from sequential source programs to parallel programs written using our skeleton library, Skel. High-level cost models allow us to predict with reasonable accuracy the parallel performance of the refactored program, enabling programmers to make informed decisions about which refactorings to apply. Using our approach, we demonstrate easily obtainable, significant and scalable speedups of up to 21 on a 24-core machine over the sequential code.