<div dir="auto"><div>Thanks a lot, Ben and devs, for all the hard work!<div dir="auto"><br></div><div dir="auto">Would it be possible to mention the JS and WASM backends in the release notes? Is it a simple oversight that there are not there, or you want to wait until a release where they are more mature?</div><div dir="auto"><br></div><div dir="auto">--</div><div dir="auto">Best, Artem </div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 30, 2023, 1:22 PM Ben Gamari <<a href="mailto:ben@well-typed.com" target="_blank" rel="noreferrer">ben@well-typed.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
The GHC team is very pleased to announce the availability of GHC<br>
9.6.1-alpha2. As usual, binaries and source distributions are available<br>
at <a href="http://downloads.haskell.org" rel="noreferrer noreferrer noreferrer" target="_blank">downloads.haskell.org</a>:<br>
<br>
<a href="https://downloads.haskell.org/ghc/9.6.1-alpha2/" rel="noreferrer noreferrer noreferrer" target="_blank">https://downloads.haskell.org/ghc/9.6.1-alpha2/</a><br>
<br>
Beginning with GHC 9.6.1, GHC can be built as a cross-compiler to<br>
WebAssembly and JavaScript. This is an important step towards robust<br>
support for compiling Haskell to the Web, but there are a few caveats to<br>
be aware of in the 9.6 series:<br>
<br>
- Both the Javascript and WebAssembly backends are still at an early<br>
stage of development and are present in this release as a technology<br>
preview<br>
<br>
- Using GHC as a cross-compiler is not as easy as we would like it to<br>
be; in particular, there are challenges related to Template Haskell.<br>
<br>
- GHC is not yet run-time retargetable; a given GHC binary targets<br>
exactly one platform, and both WebAssembly and JavaScript are<br>
considered platforms for this purpose. Cross-compilers must be built<br>
from source by their users<br>
<br>
We hope to lift all of these limitations in future releases.<br>
<br>
Additionally, 9.6.1 will include:<br>
<br>
- Significant latency improvements in the non-moving garbage collector<br>
<br>
- Efficient runtime support for delimited continuations<br>
<br>
- Improvements in compiler error messages<br>
<br>
- Numerous improvements in the compiler's memory usage<br>
<br>
See the [release notes] for a comprehensive accounting of changes in<br>
this release.<br>
<br>
As always, one can find a [migration guide] to aid in transitioning from<br>
older releases on the GHC Wiki. We have also recently started extending<br>
our release process to cover a wider set of Linux distributions. In<br>
particular, we now offer Rocky 8 and Ubuntu 20.04 binary distributions<br>
which cover RedHat-derivative and distributions using older `glibc`<br>
releases (namely 2.27), respectively.<br>
<br>
Please do give this release a try and open a [ticket] if you see<br>
anything amiss.<br>
<br>
Cheers,<br>
<br>
- Ben<br>
<br>
<br>
[ticket]: <a href="https://gitlab.haskell.org/ghc/ghc/issues/" rel="noreferrer noreferrer noreferrer" target="_blank">https://gitlab.haskell.org/ghc/ghc/issues/</a><br>
[migration-guide]: <a href="https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.6" rel="noreferrer noreferrer noreferrer" target="_blank">https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.6</a><br>
[release notes]: <a href="https://downloads.haskell.org/ghc/9.6.1-alpha2/docs/users_guide/9.6.1-notes.html" rel="noreferrer noreferrer noreferrer" target="_blank">https://downloads.haskell.org/ghc/9.6.1-alpha2/docs/users_guide/9.6.1-notes.html</a><br>
_______________________________________________<br>
Glasgow-haskell-users mailing list<br>
<a href="mailto:Glasgow-haskell-users@haskell.org" rel="noreferrer noreferrer" target="_blank">Glasgow-haskell-users@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users" rel="noreferrer noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users</a><br>
</blockquote></div></div></div>