c3lang/c3c logo

c3lang/c3c

Free

Compiler for the C3 language

FreeFree tier
Type
Open Source

About c3lang/c3c

C3 is a programming language that builds on the syntax and semantics of the C language, with the goal of evolving it while still retaining familiarity for C programmers. It is an evolution, not a revolution: a C-like language for programmers who like C. The c3c compiler offers full ABI compatibility with C, allowing seamless mixing of C and C3 in the same project. It features generics, type methods with dot syntax, and follows design principles such as staying close to C, data inertness, and avoiding unnecessary complexity. Precompiled binaries are available for Windows, Linux, macOS, and OpenBSD, and the compiler can also be built from source.

Key Features

Full C ABI compatibility for seamless interoperability
Generics and type methods with dot syntax
Precompiled binaries for Windows, Linux, macOS, and OpenBSD
Open source compiler built from source or via Docker
Design principles: procedural, stay close to C, data inert, avoid big ideas
Ability to mix C and C3 in the same project with no effort

Pros & Cons

Pros
  • Seamless C interop and ABI compatibility
  • Easy learning curve for C programmers
  • Precompiled binaries for multiple platforms
  • Open source with active development
  • Generics and higher-level conveniences without breaking C familiarity

Best For

Systems programming with a modernized C-like syntaxPorting existing C projects incrementally to C3Learning an evolution of C for experienced C programmersDemonstrated in vkQuake with partial C3 conversion