4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta name="generator" content="AsciiDoc 8.6.9">
6 <title>Projects</title>
7 <link rel="stylesheet" href="./asciidoc.css" type="text/css">
8 <link rel="stylesheet" href="./pygments.css" type="text/css">
11 <script type="text/javascript" src="./asciidoc.js"></script>
12 <script type="text/javascript">
17 <link rel="stylesheet" href="./mlton.css" type="text/css">
19 <body class="article">
21 <div id="banner-home">
22 <a href="./Home">MLton 20180207</a>
30 <div class="sectionbody">
31 <div class="paragraph"><p>We have lots of ideas for projects to improve MLton, many of which we
32 do not have time to implement, or at least haven’t started on yet.
33 Here is a list of some of those improvements, ranging from the easy (1
34 week) to the difficult (several months). If you have any interest in
35 working on one of these, or some other improvement to MLton not listed
36 here, please send mail to
37 <a href="mailto:MLton-devel@mlton.org"><span class="monospaced">MLton-devel@mlton.org</span></a>.</p></div>
38 <div class="ulist"><ul>
41 Port to new platform: Windows (native, not Cygwin or MinGW), …
56 Interfaces to libraries: OpenGL, Gtk+, D-BUS, …
61 More libraries written in SML (see <a href="https://github.com/MLton/mltonlib"><span class="monospaced">mltonlib</span></a>)
66 Additional constant types: <span class="monospaced">structure Real80: REAL</span>, …
71 An IDE (possibly integrated with <a href="Eclipse">Eclipse</a>)
76 Port MLRISC and use for code generation
83 <div class="ulist"><ul>
86 Improved closure representation
88 <div class="paragraph"><p>Right now, MLton’s closure conversion algorithm uses a simple flat closure to represent each function.</p></div>
89 <div class="ulist"><ul>
92 <a href="http://www.mlton.org/pipermail/mlton/2003-October/024570.html">http://www.mlton.org/pipermail/mlton/2003-October/024570.html</a>
97 <a href="http://www.mlton.org/pipermail/mlton-user/2007-July/001150.html">http://www.mlton.org/pipermail/mlton-user/2007-July/001150.html</a>
102 <a href="References#ShaoAppel94">ShaoAppel94</a>
109 Elimination of array bounds checks in loops
114 Elimination of overflow checks on array index computations
119 Common-subexpression elimination of repeated array subscripts
124 Loop-invariant code motion, especially for tuple selects
129 Partial redundancy elimination
131 <div class="ulist"><ul>
134 <a href="http://www.mlton.org/pipermail/mlton/2006-April/028598.html">http://www.mlton.org/pipermail/mlton/2006-April/028598.html</a>
141 Loop unrolling, especially for small loops
146 Auto-vectorization, for MMX/SSE/3DNow!/AltiVec (see the <a href="http://gcc.gnu.org/projects/tree-ssa/vectorization.html">work done on GCC</a>)
151 Optimize <span class="monospaced">MLton_eq</span>: pointer equality is necessarily false when one of the arguments is freshly allocated in the block
160 <div class="ulist"><ul>
163 Uncaught exception analysis
172 <div id="footnotes"><hr></div>
174 <div id="footer-text">
176 <div id="footer-badges">