type-level-programming

Tag

Cards List
#type-level-programming

Zero-Cost 'Tagless Final' in Rust with GADT-style Enums

Lobsters Hottest ↗ · 2026-08-28 Cached

This article explores implementing the 'tagless final' pattern in Rust with GADT-style enums, showing how the compiler can erase abstractions for zero-cost performance.

0 favorites 0 likes
#type-level-programming

Type-checked non-empty strings

Hacker News Top ↗ · 2026-06-26 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
← Back to home

Submit Feedback