Experience report: visualizing data through functional pipelines

  • Authors:
  • David J. Duke;Rita Borgo;Colin Runciman;Malcolm Wallace

  • Affiliations:
  • University of Leeds, Leeds, United Kingdom;University of Leeds, Leeds, United Kingdom;University of York, York, United Kingdom;University of York, York, United Kingdom

  • Venue:
  • Proceedings of the 13th ACM SIGPLAN international conference on Functional programming
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Scientific visualization is the transformation of data into images. The pipeline model is a widely-used implementation strategy. This term refers not only to linear chains of processing stages, but more generally to demand-driven networks of components. Apparent parallels with functional programming are more than superficial: e.g. some pipelines support streams of data, and a limited form of lazy evaluation. Yet almost all visualization systems are implemented in imperative languages. We challenge this position. Using Haskell, we have reconstructed several fundamental visualization techniques, with encouraging results both in terms of novel insight and performance. In this paper we set the context for our modest rebellion, report some of our results, and reflect on the lessons that we have learned.