News for hackers. Stuff that matters.
Re:TinyCompiler: A compiler in a week-end by sitkack on Friday February 21, 2025 @03:29PM (#43132569)
We agree on a lot of things, but QBE is off the table. Complexity and kloc are loosely correlated. Cranelift and libfirm are of equivalent size while Cranelift is in Rust and has wonderful compiler engineers working on it.

https://c9x.me/git/qbe.git/tree/rega.c

QBE is a one person performance art project.

Re:TinyCompiler: A compiler in a week-end by kragen on Friday February 21, 2025 @06:28PM (#43134382)
This code looks a lot like the Unix V6 kernel code or the source code to Steve Johnson's pcc C compiler. It's indeed too sparsely commented, but it's not as bad as you made it sound.
Re:TinyCompiler: A compiler in a week-end by sylware on Friday February 21, 2025 @06:35PM (#43134453)
... and it is getting 70% of gcc speed...