| 1 |
= Release20200722 |
| 2 |
|
| 3 |
This is an archived public release of MLton, version 20200722. |
| 4 |
|
| 5 |
== Changes since <<Release20180207#,MLton 20180207>> |
| 6 |
|
| 7 |
* Compiler. |
| 8 |
** Added expert `-pi-style {default|npi|pic|pie}` and |
| 9 |
`-native-pic {false|true}` options, which can be used to override a |
| 10 |
target-determined default. |
| 11 |
** Fix a number of instances of excessive live data during |
| 12 |
compilation. |
| 13 |
** Disable `Zone` SSA optimization pass by default; the `Zone` pass |
| 14 |
is known to not be safe-for-space. |
| 15 |
** Statically allocate and initialize some global objects. |
| 16 |
** Many updates and improvements to C and LLVM codegens. |
| 17 |
** Add new `BounceVars` RSSA optimization pass to split the live |
| 18 |
ranges of RSSA variables. |
| 19 |
** Improve `RssaShrink` optimization. |
| 20 |
** Add support for alternate globalization strategies in |
| 21 |
`ConstantPropagation`. |
| 22 |
** Strengthen `Useless` optimization with respect to a number of |
| 23 |
primitives. |
| 24 |
** Add new `DuplicateGlobals` and `SplitTypes` SSA optimization |
| 25 |
passes. |
| 26 |
** Introduce new `Overflow`-checking primitives and remove old |
| 27 |
`Overflow`-checking primitives and special-case code required (e.g., |
| 28 |
`Arith` transfers in IRs) to support them. |
| 29 |
** Add parsers for XML, SXML, SSA, and SSA2 IRs. |
| 30 |
* Runtime. |
| 31 |
** Detect and report incompatible use of ASLR/PIE on `load-world`. |
| 32 |
** Added support for RISC-V architecture. |
| 33 |
* Language. |
| 34 |
* Libraries. |
| 35 |
** Basis Library. |
| 36 |
*** Change `OS.IO.poll` to not be restarted when interrupted by a |
| 37 |
signal. (This is consistent with `Socket.select`.) |
| 38 |
*** Add `MLton.sizeAll: unit \-> IntInf.int` that returns the size |
| 39 |
of reachable live data. |
| 40 |
*** Change type of `MLton.size` from `'a \-> int` to |
| 41 |
`'a \-> IntInf.int`, because with 64-bit systems, the size of a |
| 42 |
single object can exceed that representable by a signed 32-bit |
| 43 |
integer. |
| 44 |
** Other libraries. |
| 45 |
*** Updated: ckit library, MLLPT library, MLRISC library, SML/NJ library |
| 46 |
* Tools. |
| 47 |
* Other. |
| 48 |
** Updates to simplify porting MLton. |
| 49 |
** Support parallel build (i.e., `make -j`). This mainly supports |
| 50 |
platforms/packagers that use a parallel `make` by default; it does |
| 51 |
not obtain significant build speedups. |
| 52 |
** Various updates to `Makefile`-s. See `Makefile.config` for |
| 53 |
common and user-customizable configuration. |
| 54 |
** Characterize MLton-LICENSE as an instance of the Historical |
| 55 |
Permission Notice and Disclaimer (HPND) license, rather than |
| 56 |
BSD-style. |
| 57 |
|
| 58 |
For a complete list of changes and bug fixes since |
| 59 |
<<Release20180207#>>, see the |
| 60 |
https://github.com/MLton/mlton/blob/on-20200722-release/CHANGELOG.adoc[`CHANGELOG.adoc`] and |
| 61 |
<<Bugs20180207#>>. |
| 62 |
|
| 63 |
== 20200722 binary packages |
| 64 |
|
| 65 |
* AMD64 (aka "x86-64" or "x64") |
| 66 |
** https://sourceforge.net/projects/mlton/files/mlton/20200722/mlton-20200722-1.amd64-darwin.gmp-homebrew.tgz[Darwin (.tgz)] 19.6 (Mac OS X Catalina), dynamically linked against <<GMP#>> in `/usr/local/lib` (suitable for https://brew.sh/[Homebrew] install of <<GMP#>>) |
| 67 |
** https://sourceforge.net/projects/mlton/files/mlton/20200722/mlton-20200722-1.amd64-darwin.gmp-static.tgz[Darwin (.tgz)] 19.6 (Mac OS X Catalina), statically linked against <<GMP#>> (but requires <<GMP#>> for generated executables) |
| 68 |
** https://sourceforge.net/projects/mlton/files/mlton/20200722/mlton-20200722-1.amd64-darwin-17.7.gmp-homebrew.tgz[Darwin (.tgz)] 17.7 (Mac OS X High Sierra), dynamically linked against <<GMP#>> in `/usr/local/lib` (suitable for https://brew.sh/[Homebrew] install of <<GMP#>>) |
| 69 |
** https://sourceforge.net/projects/mlton/files/mlton/20200722/mlton-20200722-1.amd64-darwin-17.7.gmp-static.tgz[Darwin (.tgz)] 17.7 (Mac OS X High Sierra), statically linked against <<GMP#>> (but requires <<GMP#>> for generated executables) |
| 70 |
** https://sourceforge.net/projects/mlton/files/mlton/20200722/mlton-20200722-1.amd64-linux.tgz[Linux], glibc 2.27 (Ubuntu 18.04) |
| 71 |
|
| 72 |
== 20200722 source packages |
| 73 |
|
| 74 |
* https://sourceforge.net/projects/mlton/files/mlton/20200722/mlton-20200722.src.tgz[mlton-20200722.src.tgz] |
| 75 |
|
| 76 |
== Also see |
| 77 |
|
| 78 |
* <<Bugs20200722#>> |
| 79 |
* http://www.mlton.org/guide/20200722/[MLton Guide (20200722)]. |
| 80 |
+ |
| 81 |
A snapshot of the MLton website at the time of release. |