• she/her

Principal engineer at Mercury. I've authored the Dhall configuration language, the Haskell for all blog, and countless packages and keynote presentations.

I'm a midwife to the hidden beauty in everything.

đź’– @wiredaemon


discord
Gabriella439
discord server
discord.gg/XS5ZDZ8nnp
location
bay area
private page
cohost.org/newmoon

Today at work I narrowed down a nasty interaction between ormolu and GHC 9.4 (since we recently upgraded everything):

Apparently by default fourmolu uses TemplateHaskell to compile a large map at compile time as an optimization. This worked on previous versions of GHC and then on GHC 9.4 it suddently leads to a massive slowdown.

One of the things I love about my new job is that we're given the time and the encouragement to really dig into problems and push fixes or report issues upstream.


You must log in to comment.

in reply to @fullmoon's post:

That only turns it off for aarch64-darwin, not x86_64-darwin. If you look at the rest of the file you'll see that's guarded by pkgs.stdenv.isAarch64

Also, the bug I reported might not necessarily be mac-specific