Search code examples
haskellpackaginghackage

Does Hackage has binary package cache?


I could not find anything related.

And this is strange to me, because it seems like it builds packages for Haddock generation.


Solution

  • Hackage is a source code repository only, not a binary cache. One of Haskell's biggest weaknesses is a lack of good binary caching. There are nix enthusiasts, some stack solution, and cabal-cache. It is all rather bespoke an problematic. This is in part because GHC does not have a platform independent IR, but I believe that only scratches the surface.