Skip to main content

IOG GHC Update #46

ยท One min read

Triweekly update from the GHC DevX team at IOG.

Previous updates can be found here.

Sylvain: continued the experimentation with using zig cc/c++ as a C/C++ cross-compiler with GHC to build boot libraries. I manage to cross-build libffi (a dependency of the RTS) with a libffi fork that supports Zig's build system.

Sylvain: experimented with the addition of a --target flag to GHC to select a target. Also added --list-targets to list the available targets. This is not ready to be upstreamed yet. stable-GHC#30

Luite: Working on more efficient packing of heap objects by reordering smaller-than-word fields and reducing the size of tag fields of unboxed sums and unpacked constructors.

Sylvain: worked on a fix for the compilation of C files with GHC when no RTS unit is present. GHC#26018, GHC!14300

Sylvain: deprecated an internal module exposed from base. GHC#23432 CLC!329 GHC!14296.