Skip to main content
ClaudeWave
anthropics avatar
anthropics

claudes-c-compiler

View on GitHub

Claude Opus 4.6 wrote a dependency-free C compiler in Rust, with backends targeting x86 (64- and 32-bit), ARM, and RISC-V, capable of compiling a booting Linux kernel.

Tools2.7k stars232 forksRustCC0-1.0Updated 4mo ago
Editor's note

CCC (Claude's C Compiler) is a complete C compiler written from scratch in Rust by Claude Opus 4.6, targeting x86-64, i686, AArch64, and RISC-V 64. The project implements every component internally, including a frontend, SSA-based intermediate representation, optimizer, code generator, peephole optimizers, assembler, linker, and DWARF debug info generation, producing ELF executables without any external toolchain. It functions as a drop-in GCC replacement, accepting familiar flags like -O2, -g, -fPIC, and -shared, and can be pointed at existing Make, CMake, or autoconf build systems directly. The compiler has successfully built PostgreSQL (passing all 237 regression tests), SQLite, Redis, the Linux kernel, CPython, QEMU, and over 150 other real-world projects. This repository demonstrates Claude's autonomous coding capability via the Claude API, with a human providing only test cases rather than interactive debugging. Anthropic explicitly cautions against production use, as the code has not been validated for correctness and is confirmed to work only on Linux hosts.

ClaudeWave Trust Score
100/100
Verified
Passed
  • Open-source license (CC0-1.0)
  • Healthy fork ratio
  • Clear description
  • Trusted owner (anthropics)
  • Documented (README)
Last scanned: 6/11/2026
Get started
Method: Clone
Terminal
git clone https://github.com/anthropics/claudes-c-compiler
1. Clone the repository.
2. Follow the README for installation and usage instructions.
Use cases

Tools overview

README preview not available. Visit the repo on GitHub for full documentation.

What people ask about claudes-c-compiler

What is anthropics/claudes-c-compiler?

+

anthropics/claudes-c-compiler is tools for the Claude AI ecosystem. Claude Opus 4.6 wrote a dependency-free C compiler in Rust, with backends targeting x86 (64- and 32-bit), ARM, and RISC-V, capable of compiling a booting Linux kernel. It has 2.7k GitHub stars and was last updated 4mo ago.

How do I install claudes-c-compiler?

+

You can install claudes-c-compiler by cloning the repository (https://github.com/anthropics/claudes-c-compiler) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is anthropics/claudes-c-compiler safe to use?

+

Our security agent has analyzed anthropics/claudes-c-compiler and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains anthropics/claudes-c-compiler?

+

anthropics/claudes-c-compiler is maintained by anthropics. The last recorded GitHub activity is from 4mo ago, with 61 open issues.

Are there alternatives to claudes-c-compiler?

+

Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.

Deploy claudes-c-compiler to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: anthropics/claudes-c-compiler
[![Featured on ClaudeWave](https://claudewave.com/api/badge/anthropics-claudes-c-compiler)](https://claudewave.com/repo/anthropics-claudes-c-compiler)
<a href="https://claudewave.com/repo/anthropics-claudes-c-compiler"><img src="https://claudewave.com/api/badge/anthropics-claudes-c-compiler" alt="Featured on ClaudeWave: anthropics/claudes-c-compiler" width="320" height="64" /></a>

More Tools