Alternatives
Products that do what Self Hosting C Compiler does
This is my hobby C compiler project. Decided to publish the code today, as it finally compiled itself. The readme on the linked GitHub page has a bit of information on how it works. I wrote the thing for fun, but if anyone gets a better understanding of the dark corners of C because of it, I am happy.
- 1MO
2016 · github.com
- 2AW
2021 · github.com
- 3FA
2018 · github.com
- 4HT
2017 · blog.klipse.tech
- 5SH
2018 · github.com
- 6CO
First tutorial to date. Writing your first C program, includes a link at the bottom with a detailed look at printf() as optional reading. I would love some feedback, as I intend writing up a lot of dev articles for people to learn from : www.xanthu.com/first-c-program
2013
- 7AS
2019 · github.com
- 8AM
2015 · github.com
- 9SV
2016 · github.com
- 10MF
2015 · github.com
- 11WM
2016 · github.com
- 12NC
Hello, Some time ago I did a data logger for fun, just to check if I could beat the performance of an old C++ project of mine (mini-async-log) and to avoid letting my multithreading-C skills rust when on a non-programming gig (using Yocto/OE, very little programming). This project is a BSD licensed, producer-wait-free (when using thread-local storage) generic message logger with high performance, decent test coverage, and type-safe C strings (requires C11 or C++ compiler). It was a shame to let this project to die unknown, as I think that it has potential to be used on some niches as…
2019
- 13CA
CJIT started as a hobby project around Fabrice Bellard’s tinyCC and slowly grew into something much more practical. It is now a small portable C compiler and runner that works across Linux, macOS, and Windows, can self host, and is packaged as a single executable. What mattered most to me was keeping the barrier to entry low. You can take one small binary, drop it onto a system, and compile or run C code using the libraries already available there, without setting up a full toolchain or installing a large stack of dependencies. I find that useful for quick prototyping, testing, auditing,…
Apr 2026 · dyne.org
- 14YY
2015 · github.com
- 15WC
2015 · github.com
- 16CA
2020 · github.com
- 17BY
2021 · github.com
- 18AM
2019 · xmake.io
- 19CU
2018 · github.com
- 20CS
2013 · github.com
- 21SH
2015 · github.com
- 22AC
2020 · github.com
- 23GA
2020 · greg-calendar.vercel.app
- 24BA
Hi HN, I'm the author. I built this project for two simple reasons: I've always used higher-level languages and wanted to finally understand what's happening "under the hood" of an interpreter. I also wanted a real project to force me to "power up" my C skills, especially with manual memory management and reference counting. The result is ToyForth, a minimal interpreter for a Forth-like language, written from scratch in C, stack-based. I focused on making the code clean and understandable. It's broken down into a few simple parts: A parser that turns source text into a list of objects…
Nov 2025 · github.com
Ranked by how close each launch is in meaning, then by votes. Refine with a description →