ghc

Tag

Cards List
#ghc

Low-level Haskell: The cursed way to emulate inline assembly in Haskell/GHC

Lobsters Hottest · 10h ago Cached

This article explores techniques to emulate inline assembly in Haskell/GHC for invoking obscure CPU instructions and efficiently returning multiple values from foreign functions, using examples like widening multiplication and carry-less multiplication.

0 favorites 0 likes
#ghc

Type-checked non-empty strings

Hacker News Top · 5d ago Cached

This post shares a Haskell technique for type-checked non-empty strings using GHC's RequiredTypeArguments, achieving compile-time validation and a ~10% build-time improvement in a large codebase.

0 favorites 0 likes
#ghc

Making GHC upgrades easy

Lobsters Hottest · 2026-06-17 Cached

The GHC team outlines progress on making GHC upgrades easier, focusing on the Big Stability Goal and Base Package Goal to decouple the base package from compiler releases.

0 favorites 0 likes
#ghc

Stealing from Biologists to Compile Haskell Faster

Hacker News Top · 2026-05-30 Cached

The article explores the optimal ApplicativeDo scheduling problem in GHC, which is disabled by default due to slowness, and draws an analogy to the dynamic programming algorithm used for RNA folding to improve compiler performance.

0 favorites 0 likes
#ghc

Exception Annotations: Lay of the Land

Lobsters Hottest · 2026-05-11 Cached

This technical blog post details the status and usage of exception annotations in GHC versions 9.10 to 10.0, covering backtrace types and debugging strategies for Haskell developers.

0 favorites 0 likes
← Back to home

Submit Feedback