Breaking the Complexity Barrier of Pure Functional Programs with Impure Data Structures

Lambda the Ultimate - Programming Languages Weblog 2014-09-22

Summary:

Breaking the Complexity Barrier of Pure Functional Programs with Impure Data Structures by Pieter Wuille and Tom Schrijvers:

Pure functional programming language offer many advantages over impure languages. Unfortunately, the absence of destructive update, imposes a complexity barrier. In imperative languages, there are algorithms and data structures with better complexity. We present our project for combining existing program transformation techniques to transform inefficient pure data structures into impure ones with better complexity. As a consequence, the programmer is not exposed to the impurity and retains the advantages of purity.

This paper is along the same lines a question I asked a couple of years ago. The idea here is to allow programming using immutable interfaces, and then automatically transform it into a more efficient mutable equivalent.

Link:

http://lambda-the-ultimate.org/node/5052

From feeds:

Gudgeon and gist ยป Lambda the Ultimate - Programming Languages Weblog

Tags:

functional theory

Date tagged:

09/22/2014, 16:20

Date published:

09/22/2014, 10:10