c3c compiles the C3 language for native applications, games, and tools with C ABI compatibility, prebuilt binaries for major desktop OSes, and an evolving standard library.
Overview
C3 is a general-purpose language for fast native software with familiar C syntax modernized for everyday development. The c3c compiler ships binaries for Windows, Linux, macOS, and OpenBSD among supported targets.
Design emphasizes procedural clarity, C interoperability, modules instead of headers, generics, error handling with Result types, defer, and reduced undefined behavior via optional safe checks. Examples illustrate generic functions and compile-time features.
Native availability and cross-compilation support span many CPU platforms. Users can mix C and C3 in one project thanks to ABI compatibility, demonstrated externally with partial vkQuake conversion.
Active development continues toward upcoming releases with tracked issues and community discussion channels.
Key features
- Native desktop compiler binaries
- C ABI interoperability
- Module-based namespacing
- Generics and compile-time features
- Result-based error handling
- Cross-compilation targets
- Browser try-it tooling
- Safe mode runtime checks
Use cases
- Systems programming experiments
- Game and tool development
- Migrating C codebases gradually
- Cross-platform native builds