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
20082026
-
…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...
comment by norir · 2025-12-15 · in An attempt to articulate Forth's practical strengths and eternal usefulness -
…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 -
…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 -
…literature, are the missing link between the compiler built from the book and real C projects. [0] https://github.com/rui314/chibicc
comment by fuhsnn · 2024-08-15 · in Writing a C Compiler: Build a Real Programming Language from Scratch -
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) -
…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/
comment by hgs3 · 2024-03-26 · in Cwerg: C-like language that can be implemented in 10kLOC -
…[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/
comment by _f5ah · 2024-01-13 · in Apple hiring compiler developers for improving Swift / C++ interoperability -
…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
comment by iso8859-1 · 2023-08-20 · in GCC always assumes aligned pointer accesses (2020) -
…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…
comment by smarx007 · 2023-07-15 · in No cyber resilience without open source sustainability -
chibicc: A Small C Compiler *) https://github.com/rui314/chibicc *) programming language used for the compiler: C *) emits assembly text (x86-64)
comment by fm77 · 2023-04-12 · in Ask HN: List of (open source) C compilers -
▲ 189
Chibicc – A Small C Compilerstory by agluszak · 2022-11-13 · 51 comments
-
…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 -
…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: -
…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…
comment by certik · 2021-03-09 · in What is the simplest self-compiling subset of C? -
chibicc is actually written by Rui Ueyama. Github: https://github.com/rui314/chibicc Previous HN: https://news.ycombinator.com/item?id=24676851
comment by xearl · 2021-02-27 · in Show HN: Redbean – Single-file distributable web server -
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 -
Try https://github.com/rui314/chibicc
comment by jart · 2020-12-02 · in QBE vs. LLVM -
▲ 278
Chibicc: A Small C Compilerstory by marcobambini · 2020-10-04 · 44 comments
-
▲ 22
Show HN: Chibicc – A Small C Compilerstory by rui314 · 2020-09-30 · 3 comments
-
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…
comment by rui314 · 2019-09-06 · in I wrote a self-hosting C compiler in 40 days (2015) -
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.
comment by rui314 · 2019-09-06 · in I wrote a self-hosting C compiler in 40 days (2015) -
https://github.com/rui314/9cc and https://github.com/rui314/chibicc are his next two compilers.
comment by muizelaar · 2019-09-05 · in I wrote a self-hosting C compiler in 40 days (2015)