Union vs sum types
Summary
A comprehensive blog post explaining union types and sum types, with examples from Rust and Julia. It contrasts product types vs. union and tagged unions, discusses advantages and pitfalls, and highlights how language design shapes type safety and optimization.