C3
lastmod 2026-01-05created 2026-01-052 edits
The C3 Programming Language
About
- An evolutionary language that inherits C's syntax and semantics while strengthening safety and usability, keeping an environment familiar to existing C developers
- Provides full C ABI compatibility, so it can be integrated directly into C/C++ projects; there is a case where part of the vkQuake code was converted to C3 and built with the c3c compiler
- Improves code structure and expressiveness with a module system, operator overloading, compile-time macros, and more
- Includes modern features such as contract-based programming (Gradual Contracts) , zero-overhead error handling, and runtime and compile-time reflection
- Automatically provides safety checks and detailed stack traces in debug mode, helping with bug detection and stability