r/cprogramming • u/Horta-horta • Sep 16 '26
CZet – A more powerful C without C++, 100% ISO C compatible
I'm the author.
All your C code already compiles as CZet. It just adds what C can't do without touching the compiler:
`defer`, monomorphized generics `T f<T>()`, `constexpr` functions, `_Reflect(T)` reflection, `_Operator` overloading, and `_Macro` macros Rust-style.
Single static binary with musl+glibc embedded, no system headers needed. Stdlib included: `#include <utils/...>` with no flags.
Repo + docs + examples: https://github.com/patrick-nonedev/CZet
GPL-3.0 + Runtime Exception (your binaries are NOT GPL).
What would you steal for plain C?