News for hackers. Stuff that matters.
Re:Show HN: Compile C to Not Gates by artemonster on Friday January 17, 2025 @04:32PM (#42743503)
Id appreciate more explanations from the power of combined bitflip & goto
Re:Show HN: Compile C to Not Gates by tomhee on Friday January 17, 2025 @04:41PM (#42743563)
Sure!

https://github.com/tomhea/flip-jump/wiki/Learn-FlipJump

This will let you understand how to implement the very basic "if" in flipjump.

I tried to make it as easy for newcomers, but please feel free and update me if something is written complicated.

After you understand up to the macros, you can try yourself to understand the xor macro, which most of the library is built based on it: https://github.com/tomhea/flip-jump/blob/fe51448932e78db7d76...