Write a Blog >>
ICFP 2016
Sun 18 - Sat 24 September 2016 Nara, Japan
Fri 23 Sep 2016 09:50 - 10:15 at Noh Theater - Strictness and STM Chair(s): Richard A. Eisenberg

Although laziness enables beautiful code, it comes with non-trivial performance costs. The ghc compiler for Haskell has optimizations to reduce those costs, but the optimizations are not sufficient. As a result, Haskell also provides a variety of strictness annotations so that users can indicate program points where an expression should be evaluated eagerly. Skillful use of those annotations is a black art, known only to expert Haskell programmers. In this paper, we introduce AUTOBAHN, a tool that uses genetic algorithms to automatically infer strictness annotations that improve program performance on representative inputs. Users examine the suggested annotations for soundness and can instruct AUTOBAHN to automatically produce modified sources. Experiments on 60 programs from the NoFib benchmark suite show that AUTOBAHN can infer annotation sets that improve runtime performance by a geometric mean of 8.5%. Case studies show AUTOBAHN can reduce the live size of a GC simulator by 99% and infer application-specific annotations for Aeson library code. A 10-fold cross-validation study shows the AUTOBAHN -optimized GC simulator generally outperforms a version optimized by an expert.

Fri 23 Sep

haskellsymp-2016-papers
09:15 - 10:15: Haskell - Strictness and STM at Noh Theater
Chair(s): Richard A. EisenbergBryn Mawr College
haskellsymp-2016-papers09:25 - 09:50
Talk
Matthew Le, Ryan Yates, Matthew FluetRochester Institute of Technology
DOI
haskellsymp-2016-papers09:50 - 10:15
Talk
Yisu Remy WangTufts University, Diogenes Nunez, Kathleen FisherTufts University
DOI