[Haskell-cafe] Compile time checking of space leaks

Henning Thielemann lemming at henning-thielemann.de
Mon May 17 06:38:11 UTC 2021


On Mon, 17 May 2021, Clinton Mead wrote:

> Is there anything I can get that helps me identify space leaks like this 
> at compile time (that is, pre-runtime)? Either from GHC or from another 
> tool? Or do we just have to rely on squishy humans to do this as compile 
> time and our only automated tools have to be delayed til runtime? 

There are at least tools to visualize GHC's internal data structures at 
runtime: ghc-heap-view/ghc-vis.

https://github.com/nomeata/haskell-bytes-bobkonf2021


More information about the Haskell-Cafe mailing list