Hacker GitHub

← All repos

rui314/chibicc

View on GitHub ↗ ★ 11,965 C

A small C compiler

22 mentions on Hacker News by 18 people: 3 stories, 19 comments · first 2019-09-05 · latest 2025-12-15

Mentions per year 22 mentions · busiest year 2024 (5)
20082026
  1. …Looking at its source code, it relies upon external tools for both x86_64 code gen and linking: https://github.com/rui314/chibicc/blob/90d1f7f199cc55b13c7fd...
  2. …AFAIK. But yes --- for a real project I would absolutely recommend someone use D over this ! [1] https://github.com/rui314/chibicc
    comment by masot · 2025-12-09 · in The Gamma Language
  3. …is very easy to modify. For an example checkout the patch set for adding defer in my fork[1]. [0] https://github.com/rui314/chibicc [1] https://github.com/fuhsnn/slimcc-defer/commits
    comment by fuhsnn · 2024-11-01 · in CIL: C Intermediate Language
  4. …literature, are the missing link between the compiler built from the book and real C projects. [0] https://github.com/rui314/chibicc
  5. Consider taking a look at chibicc and simply working forward through the commits: https://github.com/rui314/chibicc > Each commit of this project corresponds to a section of the book. For this purpose, not only the final state of the…
    comment by sneed_chucker · 2024-07-15 · in 'Writing a C Compiler' is a book (2022)
  6. …few thousand lines [1]. There is also Cake [2] and tinycc [3] which are both relatively small. [1] https://github.com/rui314/chibicc [2] https://github.com/thradams/cake [3] https://bellard.org/tcc/
  7. …[3]: https://www3.nd.edu/~dthain/compilerbook/ [4]: https://github.com/rui314/8cc [5]: https://github.com/rui314/chibicc [6]: https://www.sigbus.info/how-i-wrote-a-self-hosting-c-compile... [7]: https://chocopy.org/
  8. …bugs in GCC 2.95 that it would simply be infeasible? How much time would it take to specify? [0]: https://github.com/rui314/chibicc
  9. …related context." I would consider GCC or React to fit this definition, while a hobby project like https://github.com/rui314/chibicc not to fit it. Edit: I don't think you would have any obligations under CRA unless you make a project…
  10. chibicc: A Small C Compiler *) https://github.com/rui314/chibicc *) programming language used for the compiler: C *) emits assembly text (x86-64)
  11. …for Linux alone that are still fully maintained and under active development. [0]: typeof: https://github.com/rui314/chibicc/commit/7d80a5136d1b2926dd0... [1]: typedef: https://github.com/rui314/chibicc/commit/a6b82da1ae9eefa44da...
    comment by ludocode · 2022-05-17 · in Common libraries and data structures for C
  12. …No, optimisation, on the other hand, is not a simple problem. [0] https://github.com/rui314/8cc [1] https://github.com/rui314/chibicc
    comment by shakna · 2022-02-19 · in C meeting is over. C23 added:
  13. …https://github.com/rswier/c4 * https://github.com/Fedjmike/mini-c * https://github.com/rui314/8cc * https://github.com/rui314/chibicc * https://github.com/aligrudi/neatcc Some of them are actually interpreters, and I personally would be…
  14. chibicc is actually written by Rui Ueyama. Github: https://github.com/rui314/chibicc Previous HN: https://news.ycombinator.com/item?id=24676851
  15. What do you think about chibicc in comparison? It supports C11. https://github.com/rui314/chibicc#chibicc-a-small-c-compiler
    comment by iso8859-1 · 2021-02-15 · in Obfuscated Tiny C Compiler
  16. Try https://github.com/rui314/chibicc
    comment by jart · 2020-12-02 · in QBE vs. LLVM
  17. Author here. These days I'm writing a new C compiler ( https://github.com/rui314/chibicc ) from scratch again to write a book about compilers. Since I'll be using the new one as a reference implementation for a book, and the book is…
  18. I'm writing a new one ( https://github.com/rui314/chibicc ) and also writing a book about how to write a C compiler using my new compiler as a reference implementation.
  19. https://github.com/rui314/9cc and https://github.com/rui314/chibicc are his next two compilers.