Chibil: A C compiler targeting .NET IL
algorithmsRcool
44 points
4 comments
May 31, 2026
Related Discussions
Found 5 related stories in 92.8ms across 9,043 title embeddings via pgvector HNSW
- Dotcl: Common Lisp Implementation on .NET reikonomusha · 18 pts · April 30, 2026 · 49% similar
- Retrofitting JIT Compilers into C Interpreters ltratt · 65 pts · April 15, 2026 · 49% similar
- QBE – Compiler Back End smartmic · 88 pts · May 08, 2026 · 49% similar
- SBCL: the ultimate assembly code breadboard (2014) yacin · 138 pts · May 20, 2026 · 48% similar
- Writing a C Compiler, in Zig (2025) tosh · 150 pts · April 23, 2026 · 47% similar
Discussion Highlights (3 comments)
pjc50
Note that Microsoft "cl /clr" also does this. It's a bit of a niche use case.
whizzter
The CLR model has always had support for instruction to support the C/C++ language, compile plugins or similar once and load/run on multiple platforms should be possible. However, iirc there might've been some issues with libraries making the cl /clr code unportable (don't quote me on that though), starting from scratch might yield a better result if one just wants to run C code everywhere.
le-mark
This is a c compiler (chibicc) ported to c#, and updated to emit .net IL ie bytecode.