Hacker GitHub

← All repos

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

Mentions per year 30 mentions · busiest year 2026 (30)
20082026
  1. 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
  2. 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
  3. …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
  4. …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
  5. …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
  6. …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
  7. 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.
  8. …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
  9. …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
  10. >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…
  11. 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
  12. Deliver what exactly? False hope and lies? https://github.com/anthropics/claudes-c-compiler/issues/228
  13. …Claude was debugging compilation of "preprocessor #define inside #ifdef"'s in binutils's code. [1] https://github.com/anthropics/claudes-c-compiler/blob/6f1b99...
  14. …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
  15. …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
  16. …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
  17. …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…
  18. 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
  19. 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)
  20. …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
  21. …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...
  22. …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…
  23. apparently [hello world does not compile...]( https://github.com/anthropics/claudes-c-compiler/issues/1 )
  24. 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…
  25. https://github.com/anthropics/claudes-c-compiler/issues/1
  26. https://github.com/anthropics/claudes-c-compiler/blob/main/B... claims to have the first line of dmesg (which is shown using dmesg obviously.)
  27. …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…