Skip to content

Commit 14a43af

Browse files
hsyl20luite
andauthored
GHC team update 38 (#99)
* GHC team update 38 * Update 2024-11-28-ghc-update-38.md * Update 2024-11-28-ghc-update-38.md * Update 2024-11-28-ghc-update-38.md * Update 2024-11-28-ghc-update-38.md * Update 2024-11-28-ghc-update-38.md * Update 2024-11-28-ghc-update-38.md * Update 2024-11-28-ghc-update-38.md * Update 2024-11-28-ghc-update-38.md --------- Co-authored-by: Luite Stegeman <[email protected]>
1 parent 3915fbc commit 14a43af

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

blog/2024-11-28-ghc-update-38.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
slug: 2024-11-28-ghc-update
3+
title: "IOG GHC Update #38"
4+
authors: [sylvain,doyougnu,luite]
5+
tags: [ghc,ghc-update]
6+
---
7+
8+
Triweekly update from the GHC DevX team at IOG.
9+
10+
<!-- truncate -->
11+
12+
Previous updates can be found [here](https://engineering.iog.io/tags/ghc-update).
13+
14+
## High-level Summary
15+
16+
The team has been working on the preparation of a GHC 9.6.7 release with a fix for the Cardano node and
17+
investigating how to simplify the build of GHC distributions.
18+
19+
See details below for the more general maintenance and improvement fixes.
20+
21+
## Details
22+
23+
### Performance
24+
25+
Luite: Created a stand-alone testcase for [GHC#25284](https://gitlab.haskell.org/ghc/ghc/-/issues/25284) so possible mitigations can be tested quickly. Discussed some options to improve the flags we created earlier ([GHC!13556](https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13556)).
26+
27+
Jeff: investigated variations in Plutus criterion benchmarks (possibly related to GC).
28+
29+
### Toolchain
30+
31+
Luite: Worked on preparing the upcoming GHC 9.6.7 release by backporting and testing patches: See [luite/ghc/wip/ghc-9.6-backports](https://gitlab.haskell.org/luite/ghc/-/commits/wip/ghc-9.6-backports).
32+
33+
Sylvain: investigated how to build GHC differently (e.g. without Hadrian). Work still in progress.
34+
35+
Sylvain: experimented with using HPP instead of the C toolchain as a CPP preprocessor to build GHC. I had to implement some features and to fix a few bugs to support CPP as used in the RTS:
36+
- Add support for macros with empty argument list: [HPP#7](https://github.com/acowley/hpp/pull/7)
37+
- Fix removal of C comments (otherwise we tried to substitute macros in them): [HPP#8](https://github.com/acowley/hpp/pull/8)
38+
- Add support for variadic macros: [HPP#10](https://github.com/acowley/hpp/pull/10)
39+
- Fix line counting for `__LINE__` support and `#line` token insertion: [HPP#6](https://github.com/acowley/hpp/pull/6), [HPP#11](https://github.com/acowley/hpp/pull/11) and [HPP#12](https://github.com/acowley/hpp/pull/12)
40+
41+
Shoutout to HPP's author and maintainer Anthony Cowley who has been very responsive.
42+
43+
### Maintenance
44+
45+
Sylvain: reviewed GHC patches about the JS backend

0 commit comments

Comments
 (0)