anthropics/claudes-c-compiler
View on GitHub ↗ ★ 2,824 Rust
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.
30 mentions on Hacker News by 27 people: 3 stories, 27 comments · first 2026-02-05 · latest 2026-09-19
20082026
-
You missed this from last year https://github.com/anthropics/claudes-c-compiler Also I dunno why you should be impressed by this - gcc isn't anything near eg navier stokes
comment by mathisfun123 · 2026-09-19 · in If math is more than proof, we need to better celebrate the rest of it -
How is that going for Claude's C compiler [0], or Cursor's web browser? [1] [0] https://github.com/anthropics/claudes-c-compiler [1] https://github.com/wilsonzlin/fastrender
comment by rvz · 2026-07-10 · in Postgres rewritten in Rust, now passing 100% of the Postgres regression tests -
…model if hosted by others or if a smaller local model matches the performance of larger ones. [1] https://github.com/anthropics/claudes-c-compiler [0] https://github.com/wilsonzlin/fastrender
comment by rvz · 2026-07-06 · in Anthropic's Method to Losing Goodwill in a Few Easy Steps -
…ago: https://github.com/wilsonzlin/fastrender The Claude C compiler? 4 months since any changes: https://github.com/anthropics/claudes-c-compiler Zero moderation too, nice. https://github.com/anthropics/claudes-c-compiler/issues/264#...…
comment by dminik · 2026-06-19 · in Fable Converted Pylint to Rust -
…updated? 4 months ago? [0] It is written in Rust™, surely it is better than the rest of them. [0] https://github.com/anthropics/claudes-c-compiler
comment by rvz · 2026-06-10 · in Claude Desktop spawns 1.8 GB Hyper-V VM on every launch, even for chat-only use -
…Witness the C compiler in rust [1], what happened to that after the initial press releases ? [1] https://github.com/anthropics/claudes-c-compiler
comment by bwfan123 · 2026-06-10 · in Port React Compiler to Rust -
Why are you quoting from their marketing blog as if it's a reliable source? https://github.com/anthropics/claudes-c-compiler/issues/1 > Apparently compiling hello world exactly as the README says to is an unfair expectation of the software.
comment by nvme0n1p1 · 2026-05-17 · in I don't think AI will make your processes go faster -
…AI capabilities for this. "Anthropic released vibe coded C compiler that doesn't work" sounds like https://github.com/anthropics/claudes-c-compiler/issues/1 passed through a game of telephone. The compiler has some wrong defaults that…
comment by networked · 2026-03-08 · in Warn about PyPy being unmaintained -
…API hallucination for handling input, and also, when I got it unstuck, it didn't actually work. [0] https://github.com/anthropics/claudes-c-compiler/issues/1
comment by maccard · 2026-03-04 · in Agentic Engineering Patterns -
▲ 3
Hunting for traces of chibicc in Claude's C compilerstory by silver_sun · 2026-02-21 · 0 comments
-
>I found this was the least impressive bit about it https://github.com/anthropics/claudes-c-compiler/issues/1 So, I just skimmed the discussion thread, but I am not seeing how this shows that CCC is not impressive. Is the point you're…
comment by NewsaHackO · 2026-02-14 · in GPT-5.2 derives a new result in theoretical physics -
I found this was the least impressive bit about it https://github.com/anthropics/claudes-c-compiler/issues/1
comment by kewscombinator · 2026-02-14 · in GPT-5.2 derives a new result in theoretical physics -
Deliver what exactly? False hope and lies? https://github.com/anthropics/claudes-c-compiler/issues/228
comment by BrouteMinou · 2026-02-13 · in GPT-5.2 derives a new result in theoretical physics -
…Claude was debugging compilation of "preprocessor #define inside #ifdef"'s in binutils's code. [1] https://github.com/anthropics/claudes-c-compiler/blob/6f1b99...
comment by fuhsnn · 2026-02-13 · in OK, so Anthropic's AI built a C compiler. That don't impress me much -
…the same behavior, it's hard to believe there's no influence of chibicc in its algorithms. [1] https://github.com/anthropics/claudes-c-compiler/blob/6f1b99... [2] https://github.com/anthropics/claudes-c-compiler/issues/232
comment by fuhsnn · 2026-02-13 · in OK, so Anthropic's AI built a C compiler. That don't impress me much -
…and pass the test suite but then the SQLite binary itself fails to execute certain queries (see https://github.com/anthropics/claudes-c-compiler/issues/74 ). > which, in comparison with a correct modern C compiler, is far less performance…
comment by gjulianm · 2026-02-09 · in Claude’s C Compiler vs. GCC -
…opic.com/engineering/building-c-compiler - "build a bootable Linux 6.9 on x86, ARM, and RISC-V." [1]: https://github.com/anthropics/claudes-c-compiler/blob/main/B... - only shows a test of RISC-V
comment by DSMan195276 · 2026-02-09 · in Claude’s C Compiler vs. GCC -
…folks) you may not have caught I was one of the first 10 comments on that very issue 3 days ago https://github.com/anthropics/claudes-c-compiler/issues/1#is... . Not to imply there are no issues or it's a good compiler, the README.md says…
comment by zamadatix · 2026-02-09 · in CCC (Claude's C Compiler) on Compiler Explorer -
Checking the list of issues on github is required https://github.com/anthropics/claudes-c-compiler/issues
comment by JackSlateur · 2026-02-08 · in CCC (Claude's C Compiler) on Compiler Explorer -
But can it compile "Hello, World" example from its own README.md? https://github.com/anthropics/claudes-c-compiler/issues/1
comment by d_silin · 2026-02-07 · in SectorC: A C Compiler in 512 bytes (2023) -
…the compiler itself is working, it's just that the path to the stdlib isn't being passed properly https://github.com/anthropics/claudes-c-compiler/issues/1#is...
comment by nextaccountic · 2026-02-07 · in Hello world does not compile -
▲ 59
Hello world does not compilestory by mfiguiere · 2026-02-07 · 42 comments
-
…Still, an impressive achievement nonetheless, but there's a lot of nuance under the surface. [1] https://github.com/anthropics/claudes-c-compiler/issues/1 [2] https://github.com/anthropics/claudes-c-compiler/issues/1#is...
comment by _lunix · 2026-02-06 · in We tasked Opus 4.6 using agent teams to build a C Compiler -
…familiar with gcc and clang's source and it doesn't really particularly look like it to me. https://github.com/anthropics/claudes-c-compiler/blob/main/s... https://llvm.org/doxygen/LoopStrengthReduce_8cpp_source.html…
comment by astrange · 2026-02-06 · in We tasked Opus 4.6 using agent teams to build a C Compiler -
apparently [hello world does not compile...]( https://github.com/anthropics/claudes-c-compiler/issues/1 )
comment by lambda-lollipop · 2026-02-06 · in We tasked Opus 4.6 using agent teams to build a C Compiler -
▲ 1
Dependency-free C compiler in Rust, written by Opus 4.6story by vinhnx · 2026-02-06 · 0 comments
-
Clicked on the first thing I happen to be interested in - SIMD stuff - and ended up at https://github.com/anthropics/claudes-c-compiler/blob/6f1b99... , which is a fast path incompatible with the _mm_free implementation; pretty trivial…
comment by dzaima · 2026-02-06 · in We tasked Opus 4.6 using agent teams to build a C Compiler -
https://github.com/anthropics/claudes-c-compiler/issues/1
comment by 201984 · 2026-02-05 · in We tasked Opus 4.6 using agent teams to build a C Compiler -
https://github.com/anthropics/claudes-c-compiler/blob/main/B... claims to have the first line of dmesg (which is shown using dmesg obviously.)
comment by flakiness · 2026-02-05 · in We tasked Opus 4.6 using agent teams to build a C Compiler -
…one man's week of work. Except the one man might explain such arbitrary and shitty code as this: https://github.com/anthropics/claudes-c-compiler/blob/main/s... why x9? who knows?! Oh god the more i look at this code the happier I get. I…
comment by dmitrygr · 2026-02-05 · in We tasked Opus 4.6 using agent teams to build a C Compiler