Triweekly update from the GHC DevX team at IOG.
Previous updates can be found here.
We've published Bartek's blog post about his internship at IOG on GHC stability features: https://engineering.iog.io/2023-10-25-internship
Sylvain: worked on improving support for C sources with the JS backend
(e.g. to link with
The work is still in progress and you can follow progresses in
See also related refactoring merge requests GHC!11437
Josh: merged documentation on replacing C FFI functions in libraries for the JS backend. See GHC!11291
Josh: added a ticket with a task list of C functions used in boot libraries that need to be replaced for the JS backend. See GHC#24015
Jeff: Finished splitting the JS Backend IR,
JStat, into two:
JStat. This substantially cleans up the JS backend's DSL and makes it harder to write unsafe code in the DSL. More importantly this patch paves the way for the optimizer and for a more robust typed eDSL to express the JS Backend's runtime system in. See GHC!10722 for more.
Luite: Worked on bringing back an optimizer for the JS backend. The goal is to reduce code size and memory consumption during linking. An initial version reduced code size of a "hello world" program by 26.9%, and additional analysis should improve this more. See GHC!11507