Changes between Version 102 and Version 103 of WikiStart

Show
Ignore:
Timestamp:
11/11/10 03:02:15 (4 years ago)
Author:
benl (IP: 129.94.242.38)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v102 v103  
    11= The Disciplined Disciple Compiler (DDC) = 
    22 
    3 Disciple is a dialect of Haskell that uses strict evaluation as the default and supports destructive update of arbitrary data structures. Disciple includes region, effect and closure typing, and this extra information provides a handle on the operational behaviour of code that isn't available in other languages. Programs can be written in either a pure/functional or effecful/imperative style, and one of our goals is to provide both styles coherently in the same language. The two styles can be mixed safely, for example: when using laziness the type system guarantees that computations with visible side effects are not suspended. Many Haskell programs are also Disciple programs, or will run with minor changes. Our target applications are the ones that you always find yourself writing C programs for, because existing functional languages are too slow, use too much memory, or don't let you update the data that you need to. 
     3This trac has moved to [http://trac.ouroborus.net/ddc] 
    44 
    5 DDC is still in the "research prototype" stage, meaning that it will compile programs if you are nice to it, but expect compiler panics and missing features. You'll get panics due to ungraceful handling of errors in the source code, but valid programs should compile ok. Here are some working examples, along with their Disciple source code: 
    6  
    7 || Ray Tracer || N-Body || Styrene || 
    8 || [[Image(WikiStart:raytracer-thumb.png)]] || [[Image(WikiStart:nbody-thumb.png)]] || [[Image(WikiStart:styrene-thumb.png)]] || 
    9 || [http://code.haskell.org/ddc/ddc-head/test/93-Graphics/RayTracer (code)] ||  [http://code.haskell.org/ddc/ddc-head/test/93-Graphics/N-Body/Unboxed/Main.ds (code)] || [http://code.haskell.org/ddc/ddc-head/test/93-Graphics/Styrene (code)] || 
    10  
    11 == State of Play == 
    12 This section records what the DDC developers are actively working on. If you're hacking on something DDC related then by all means add yourself here. Records are dropped off if they're older than about a month. 
    13  
    14 ==== Ben Lippmeier (benl23) -- updated 23rd October 2010  ==== 
    15  * I've started a blog on DDC development at [http://disciple-devel.blogspot.com/ http://disciple-devel.blogspot.com/] 
    16  * I'm currently fixing support for type signatures. Previously we were just using the value portion of the sig, but we need to check effect and closure information as well. 
    17  
    18 ==== Erik de Castro Lopo (m3ga) -- updated 18th Aug 2010  ==== 
    19  * Started work on an LLVM backend. The idea is to have a -via-llvm command line option which would then generate object files using LLVM. The LLVM generated object files will be compatible with the object files generated using the C backend for easier debugging. Another goal for the backend is to make it easier to bootstrap the compiler (compile DDC with DDC) and to port the compiler to new platforms and architectures. 
    20  * I'm pretty much stalled on all the current bugs and waiting for Ben to finish the refactoring at which time I'll have another crack at them. 
    21  * Improvements to DDC's library. 
    22  
    23 == [wiki:Language] == 
    24  * [wiki:Language/Overview Language Overview] 
    25  * [wiki:Language/VersusHaskell Syntactic differences to Haskell] 
    26  * The [wiki:Language Language Definition] is still evolving and incomplete. 
    27  
    28 == Installation == 
    29 '''Fully supported:''' OSX/x86, Linux/x86, Linux/x86_64, Linux/PPC, FreeBSD/x86 [[br]] 
    30 '''Partially supported:''' [wiki:Platforms/Cygwin-x86  Cygwin/x86] 
    31  
    32  * [wiki:Development/Getting Get the source] 
    33  * [wiki:Development/Building Build the compiler and libraries] 
    34  * [wiki:Development/Testing Running tests and demos] 
    35  * [wiki:Development/Installing Installing the compiler] 
    36  
    37 == Development == 
    38  * [http://discus.ouroborus.net:/~overlord/desire/latest/doc/haddock Nightly Haddock Code Documentation] 
    39  
    40  * [http://disciple-devel.blogspot.com Disciple Development Blog] (benl23 + just ask) 
    41  * [http://www.mega-nerd.com/erikd/Blog/CodeHacking/DDC/index.html Erik's DDC Blog] (m3ga) 
    42  
    43  * [wiki:Commentary Compiler Commentary] 
    44  * [wiki:Development/DevBuilds Development Builds] 
    45  * [wiki:Development/BuildBots Build Bots and Servers] 
    46  * [wiki:Development/Haddock Building the Code documentation] 
    47  * [wiki:Development/Highlighting Syntax Highlighting] 
    48  * [wiki:Development/CodeConventions Coding Conventions] 
    49  * [wiki:Development/UsingDarcs Using Darcs] 
    50  * [wiki:Development/Debugging Debugging Help] 
    51  * [wiki:Development/Profiling Memory and CPU Usage Profiling] 
    52  * [wiki:Development/Patches Making Patches] 
    53  
    54 == How you can help == 
    55  * Download the compiler, write programs, and file bug reports! 
    56  * Write more tests. Cute graphical demos are especially fun. 
    57  * Fix bugs! The ones on the [http://trac.haskell.org/ddc/report/9 newbie list] should be easy to get started on, otherwise we're pushing for the [http://trac.haskell.org/ddc/query?status=new&status=assigned&status=reopened&milestone=0.1.3&order=priority 0.1.3 release] 
    58  * 'port across GHC base libraries like Data.Either and Data.Map. 
    59  
    60 == How to get help == 
    61  
    62  * Send mail to [http://groups.google.com/group/disciple-cafe disciple-cafe] at Google Groups. 
    63  * Ask in the #disciplined channel on the [http://freenode.net freenode IRC network]. 
    64  
    65 == Further Reading == 
    66  * [http://www.cse.unsw.edu.au/~benl/ Ben's academic webpage] 
    67  * [http://www.cse.unsw.edu.au/~benl/papers/witness/witnessing-jfp-sub.pdf Witnessing Mutability, Purity and Aliasing for Program Optimisation], submitted to JFP 2010 
    68  * [http://www.cse.unsw.edu.au/~benl/papers/thesis/lippmeier-impure-world.pdf Type Inference and Optimisation for an Impure World], ANU 2010 (PhD thesis) 
    69  * [http://www.cse.unsw.edu.au/~benl/papers/witness/witnessing-purity-constancy-and-mutability-v1-1.pdf Witnessing Purity, Constancy and Mutability], [http://www.cse.unsw.edu.au/~benl/talks/witnessing-aplas-20091214.pdf slides], APLAS 2009 
    70