News for hackers. Stuff that matters.
Re:A minimal C compiler in x86 assembly by Someone on Tuesday May 03, 2022 @02:46AM (#31245428)
> but if you notice: 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)?

Re:A minimal C compiler in x86 assembly by arinlen on Tuesday May 03, 2022 @03:19AM (#31245628)
> 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.

Re:A minimal C compiler in x86 assembly by kragen on Tuesday May 03, 2022 @08:04AM (#31247281)
Apparently it's an offbeat minicomputer from the late 01970s made by a defunct company called Knight.
Re:A minimal C compiler in x86 assembly by pabs3 on Tuesday May 03, 2022 @11:49PM (#31256530)
That wasn't my conclusion, I just pasted what the author of the code said.