EarlGray/c4
View on GitHub ↗ ★ 973 C
x86 JIT compiler in 86 lines
6 mentions on Hacker News by 5 people: 1 story, 5 comments · first 2014-12-13 · latest 2023-08-26
20082026
-
c4 - C in four functions: https://github.com/rswier/c4/ c4x86 - JIT compiler for x86 in 86 lines: https://github.com/EarlGray/c4
comment by homarp · 2023-08-26 · in AoikC4x86Study: Line-by-line comments to c4.c and c4x86.c files -
…, rendered as https://web.archive.org/web/20081120011949if_/http://bellard... [4] https://github.com/EarlGray/c4/blob/master/JIT.md
comment by mananaysiempre · 2023-03-23 · in A CPU is a compiler -
…to write things like JITs at all. A tiny demonstration of this can be found at the bottom of C4x86: https://github.com/EarlGray/c4/blob/master/c4x86.c
comment by userbinator · 2020-08-30 · in Exploring mullender.c – A deep dive into the first IOCCC winner -
…but it is unexpectedly short, yet complete. For a just-as-interesting "sequel", look at C4x86: https://github.com/EarlGray/c4
comment by userbinator · 2020-02-18 · in C4: C in Four Functions (2014) -
c4 with tiny x86 JIT: https://github.com/EarlGray/c4 https://github.com/EarlGray/c4/blob/master/c4x86.c
comment by altermark · 2019-10-10 · in Small C Compilers