News for hackers. Stuff that matters.
Re:Hand-optimizing the TCC code generator by foxhill on Thursday April 07, 2022 @06:46AM (#30942846)
C4 comes to mind (C in 4 functions), https://github.com/rswier/c4.

have you considered adding a backend for LLVM? perhaps a bit heavyweight, but it could be a good way to get C/C++, fortran, rust, etc. if that's something you'd like!

Re:Hand-optimizing the TCC code generator by magicalhippo on Thursday April 07, 2022 @07:28AM (#30943105)
> C4 comes to mind

Seems like an interpreter? But maybe that could be tweaked... A bit messy code though.

> have you considered adding a backend for LLVM?

Just to the extent that I kinda dismissed it out of the gate due to seeming to be a fairly complex and dynamic target. Haven't used it personally but a good buddy maintains a backend.