Debian Codegraph @

doc/guide/src/Release20200817.adoc

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