Debian Codegraph @

doc/guide/src/Release20201002.adoc

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