HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
joexbayer
C-Compiler
C2025–2025
joexbayer / C-Compiler

C-Compiler

A custom C compiler to x86 32bit machine code

2Distinct people
2Mentions
0Explicit recommenders
17GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A custom C compiler to x86 32bit machine code

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2025-04-26 23:19:48 UTC to 2025-04-27 01:49:25 UTC.

012025-04-26 23:00:00 UTC to 2025-04-27 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsApr 26, 23:002025-04-27 00:00:00 UTC to 2025-04-27 01:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsApr 27, 00:002025-04-27 01:00:00 UTC to 2025-04-27 02:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsApr 27, 01:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Apr 26, 23:002025-04-26 23:00:00 UTC2025-04-27 00:00:00 UTC101
Apr 27, 00:002025-04-27 00:00:00 UTC2025-04-27 01:00:00 UTC000
Apr 27, 01:002025-04-27 01:00:00 UTC2025-04-27 02:00:00 UTC101

What Hacker News says

2 sources
That is so awesome! I'd really like to see more people bringing back the spirit of early computing with much more tinkering at the computer rather than app level. I've been thinking about doing a long term hobby project of creating a personal computer - one where I create the entire software stack myself and can know the provenance of every bit that goes into the system (though I can't do the same with the hardware, unless I can get enough performance out of an FPGA to run everything on it). Until now it seemed unrealistic but you proved it's possible! And looks like you're even implementing a hobby C compiler: https://github.com/joexbayer/C-Compiler
In Show HN: My self-written hobby OS is finally running on my vintage IBM ThinkPad
There is no magic interaction between the compiler and OS. It simples compiles to the same machine code (i386) and uses interrupts for system calls. Structs are handled as a memory region with a size based on its members, and the member access is simply an offset into that region. Current it has lots of limitations such as only int and char, no switch statements etc. The biggest change from default C, is allowing functions in structs and implicit passing a struct to a function if it’s a struct function. You can read more here: https://github.com/joexbayer/C-Compiler
In Show HN: My self-written hobby OS is finally running on my vintage IBM ThinkPad

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.