Hacker GitHub

← All repos

Vexu/arocc

View on GitHub ↗ ★ 1,859 Zig

A modern fully featured C compiler.

10 mentions on Hacker News by 7 people: 2 stories, 8 comments · first 2021-05-10 · latest 2026-04-23

Mentions per year 10 mentions · busiest year 2021 (3)
20082026
  1. …compiler written in Zig, Aro[1], which Zig started using since 0.16 for its TranslateC module. [1]: https://github.com/Vexu/arocc
    comment by spiffyk · 2026-04-23 · in Writing a C Compiler, in Zig (2025)
  2. …its TranslateC functionality (for translating C headers into Zig, not whole programs) in 0.16. [1]: https://github.com/Vexu/arocc
    comment by spiffyk · 2026-04-23 · in Writing a C Compiler, in Zig (2025)
  3. just forked https://github.com/Vexu/arocc and it took me 5 seconds to complete it.
  4. …will also be delegated to the new Clang package along with C++ and ObjC compilation). [1] https://github.com/Vexu/arocc
    comment by flohofwoe · 2024-12-07 · in 21 Algol 60 Compilers in 1962
  5. ▲ 221
    Aro – Zig's new C compiler
    story by whatever3 · 2024-07-20 · 123 comments
  6. …to not depend on LLVM anymore, there might be a reason to use a C compiler written in Zig (possibly https://github.com/Vexu/arocc )
    comment by ptato · 2023-04-14 · in Zig build system
  7. ▲ 150
    Aro: A C compiler written in Zig
    story by frankjr · 2022-02-04 · 27 comments
  8. …It would look more like a machine-generated IR than natural C code that a human would write. [1]: https://github.com/Vexu/arocc
    comment by AndyKelley · 2021-12-21 · in Zig 0.9.0
  9. …By the way, check out this project by Zig core team member, Vexu: https://github.com/Vexu/arocc
    comment by AndyKelley · 2021-09-08 · in Maintain It with Zig
  10. …started from the other side as you, with the preprocessor mostly done, but the backend left to-do: https://github.com/Vexu/arocc One thing that might make libclang worth the cost, however, is its ability to compile C++ code as well. On…