Difference between revisions of "Discus"

From HaskellWiki
Jump to navigation Jump to search
Line 20: Line 20:
 
* Compiles via standard C99, so is highly portable.
 
* Compiles via standard C99, so is highly portable.
 
* Tested on linux-{x86, x86_64} and darwin-{x86, x86_64} (tested on 10.5.4)
 
* Tested on linux-{x86, x86_64} and darwin-{x86, x86_64} (tested on 10.5.4)
* Is an active research project and is not yet "industrial strength", but will compile some programs if you're nice to it.
+
* Is an active research project and not yet "industrial strength", but will compile some programs if you're nice to it.
   
 
== Development ==
 
== Development ==

Revision as of 06:42, 23 July 2009

DDC

Disciple is an explicitly lazy dialect of Haskell which supports destructive update, computational effects, type directed field projections and allied functional goodness.

Disciple vs Haskell

Some example code showing most of the extensions, and its output, core and C-code

The Disciplined Disciple Compiler

  • Uses a typed core language which includes effect, closure, region and mutability information.
  • This extended type information is used to allow code-transformation style optimizations in the presence of side effects and mutable objects.
  • Compiles via standard C99, so is highly portable.
  • Tested on linux-{x86, x86_64} and darwin-{x86, x86_64} (tested on 10.5.4)
  • Is an active research project and not yet "industrial strength", but will compile some programs if you're nice to it.

Development