| 1 |
= Projects |
| 2 |
|
| 3 |
We have lots of ideas for projects to improve MLton, many of which we |
| 4 |
do not have time to implement, or at least haven't started on yet. |
| 5 |
Here is a list of some of those improvements, ranging from the easy (1 |
| 6 |
week) to the difficult (several months). If you have any interest in |
| 7 |
working on one of these, or some other improvement to MLton not listed |
| 8 |
here, please send mail to |
| 9 |
mailto:[email protected][`[email protected]`]. |
| 10 |
|
| 11 |
* Port to new platform: Windows (native, not Cygwin or MinGW), ... |
| 12 |
* Source-level debugger |
| 13 |
* Heap profiler |
| 14 |
* Interfaces to libraries: OpenGL, Gtk+, D-BUS, ... |
| 15 |
* More libraries written in SML (see https://github.com/MLton/mltonlib[`mltonlib`]) |
| 16 |
* Additional constant types: `structure Real80: REAL`, ... |
| 17 |
* An IDE (possibly integrated with <<Eclipse#>>) |
| 18 |
* Port MLRISC and use for code generation |
| 19 |
* Optimizations |
| 20 |
** Improved closure representation |
| 21 |
+ |
| 22 |
Right now, MLton's closure conversion algorithm uses a simple flat closure to represent each function. |
| 23 |
+ |
| 24 |
*** http://www.mlton.org/pipermail/mlton/2003-October/024570.html |
| 25 |
*** http://www.mlton.org/pipermail/mlton-user/2007-July/001150.html |
| 26 |
*** <<References#ShaoAppel94,ShaoAppel94>> |
| 27 |
** Elimination of array bounds checks in loops |
| 28 |
** Elimination of overflow checks on array index computations |
| 29 |
** Common-subexpression elimination of repeated array subscripts |
| 30 |
** Loop-invariant code motion, especially for tuple selects |
| 31 |
** Partial redundancy elimination |
| 32 |
*** http://www.mlton.org/pipermail/mlton/2006-April/028598.html |
| 33 |
** Loop unrolling, especially for small loops |
| 34 |
** Auto-vectorization, for MMX/SSE/3DNow!/AltiVec (see the http://gcc.gnu.org/projects/tree-ssa/vectorization.html[work done on GCC]) |
| 35 |
** Optimize `MLton_eq`: pointer equality is necessarily false when one of the arguments is freshly allocated in the block |
| 36 |
* Analyses |
| 37 |
** Uncaught exception analysis |