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.
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.
- ✓Open-source license (CC0-1.0)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Trusted owner (anthropics)
- ✓Documented (README)
git clone https://github.com/anthropics/claudes-c-compilerTools overview
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.
[](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
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph. App code + database schema + infrastructure in one graph.
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies