News for hackers. Stuff that matters.
Re:Show HN: Compile C to Not Gates by tromp on Friday January 17, 2025 @03:51PM (#42743108)
Am I right in deducing that this language gets its power from self-modifying code? I.e. flipping bits within addresses of the opcodes of the running program?
Re:Show HN: Compile C to Not Gates by tomhee on Friday January 17, 2025 @04:08PM (#42743251)
You are indeed right
Re:Show HN: Compile C to Not Gates by tromp on Friday January 17, 2025 @04:18PM (#42743362)
I would have expected the language documentation to focus more on this observation and to explain for instance how self modification is used to implement while loops. But I don't even see the term mentioned anywhere?!
Re:Show HN: Compile C to Not Gates by tomhee on Friday January 17, 2025 @04:23PM (#42743413)
Good point! It's mentioned in the github wiki here: https://github.com/tomhea/flip-jump/wiki/Learn-FlipJump#memo...

It was once in the Readme but as I kept developing it more it become longer and longer, so I moved it into the wiki, and especially to here: https://esolangs.org/wiki/FlipJump

Re:Show HN: Compile C to Not Gates by int_19h on Sunday January 19, 2025 @02:45AM (#42754810)
This was actually a not uncommon approach to implementing loops in earliest mainfraims.
Re:Show HN: Compile C to Not Gates by tomhee on Sunday January 19, 2025 @12:58PM (#42759511)
Do you have any article that I can read about it? Sounds interesting!