3 ms·
> but if you notice: https://github.com/oriansj/stage0/blob/master/stage2/cc_x86 https://github.com/oriansj/stage0/blob/master/stage2/cc_x86.... > writing a C
by Someone 5y ago
> but if you notice: https://github.com/oriansj/stage0/blob/master/stage2/cc_x86 https://github.com/oriansj/stage0/blob/master/stage2/cc_x86....
> writing a C compiler in assembly that supports structs, unions, arrays, inline assembly and a bunch more was done in less than 24 hours by an inexperienced C programmer.
That’s a weird commit comment (“Implemented C version of cc_knight-native”) for a commit that adds a C compiler.
Also, how do you conclude from that that it took less than 24 hours to write that commit (or any)?
- arinlen 5y ago> That’s a weird commit comment (“Implemented C version of cc_knight-native”) for a commit that adds a C compiler. I read that as "implement a C version of a C compiler for Knight's Landing processors". I might be reading too much into it, though.
- kragen 5y agoApparently it's an offbeat minicomputer from the late 01970s made by a defunct company called Knight.
- pabs3 5y agoThat wasn't my conclusion, I just pasted what the author of the code said.