Show HN: Type-C – variants, options, generics and pattern matching to C, like TS
Category: devtools
Tags: c, type-system, pattern-matching, compiler, language-extension
Score: 7.5/10 (Innovation: 7, Technical: 8, Documentation: 9, Utility: 6)
Type-C is a superset of C11 that adds variants, pattern matching, generics, and error handling as values, compiling to readable C without runtime overhead. It aims to bring TypeScript-like type safety to C while maintaining full C compatibility and incremental adoption.
Target audience: C developers, systems programmers, language enthusiasts
Repository: https://github.com/stass/type-c · OCaml · BSD-2-Clause · 1 stars
View on Hacker News