<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: tomhee</title><link>https://news.ycombinator.com/user?id=tomhee</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 09 Apr 2026 02:39:16 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=tomhee" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by tomhee in "Show HN: I made my own OS from scratch because I was bored"]]></title><description><![CDATA[
<p>Nice job! Just started my own too.</p>
]]></description><pubDate>Thu, 13 Feb 2025 21:55:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=43041891</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=43041891</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43041891</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>@alok-g
I'll be happy to explain - You don't understand it correctly. 
The flipjump assembly syntax does allow relating to an address with offsets/more advanced stuff, but that doesn't add anything to.the language. It' just adds comfort to the programmer - it's basically like adding labels to an assembly language - it's possible to write assembly without them, just much less convenient.<p>The power of flipjump results in self modifying code. 
If I jump to a address that have the [flip 0, jump 0x1000], then I'll get to 0x1000 afterwards, right? But if I flip some specific bit in this instruction before jumping to it, it will become [flip 0, jump 0x1080]. You can call this instruction "memory bit", and the part of jumping to it and resulting in one of two possible addresses 0x1000/0x1040 based on a specific bit in it - "read the memory bit". The action is reading as you get to different place based on the value stored in this instruction. This "read" can also be seen as an "if".
How you write then? For example writing "1" whould be doing a "read", and in the "read 0" case - do a flip to this address, and in the "read 1" case don't flip this memory address bit.</p>
]]></description><pubDate>Sat, 25 Jan 2025 22:07:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=42825378</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42825378</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42825378</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>Alright - <a href="https://github.com/tomhea/flip-jump/wiki/Learn-FlipJump#memory---how-can-we-implement-variable">https://github.com/tomhea/flip-jump/wiki/Learn-FlipJump#memo...</a></p>
]]></description><pubDate>Thu, 23 Jan 2025 20:49:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=42807909</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42807909</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42807909</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>Do you have any article that I can read about it? Sounds interesting!</p>
]]></description><pubDate>Sun, 19 Jan 2025 17:58:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=42759511</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42759511</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42759511</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>The power is within the self modification of the code. The jump might be implemented by a multiplexer, though it can be implemented in other ways too.</p>
]]></description><pubDate>Sat, 18 Jan 2025 14:56:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=42748809</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42748809</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42748809</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>That's cool! And that's possible. Do you have any more data to read about it?</p>
]]></description><pubDate>Sat, 18 Jan 2025 13:00:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=42748023</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42748023</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42748023</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>If you have an answer I'd be happy to hear it!</p>
]]></description><pubDate>Fri, 17 Jan 2025 22:27:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=42743946</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42743946</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42743946</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>There actually was one with subleq: <a href="https://www.google.com/amp/s/blog.attify.com/flare-4-ctf-write-part-5/amp/" rel="nofollow">https://www.google.com/amp/s/blog.attify.com/flare-4-ctf-wri...</a></p>
]]></description><pubDate>Fri, 17 Jan 2025 22:18:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=42743867</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42743867</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42743867</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>Sure!<p><a href="https://github.com/tomhea/flip-jump/wiki/Learn-FlipJump">https://github.com/tomhea/flip-jump/wiki/Learn-FlipJump</a><p>This will let you understand how to implement the very basic "if" in flipjump.<p>I tried to make it as easy for newcomers, but please feel free and update me if something is written complicated.<p>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: <a href="https://github.com/tomhea/flip-jump/blob/fe51448932e78db7d769e094dad742d0994b7b8b/flipjump/stl/bit/logics.fj#L23">https://github.com/tomhea/flip-jump/blob/fe51448932e78db7d76...</a></p>
]]></description><pubDate>Fri, 17 Jan 2025 21:41:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=42743563</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42743563</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42743563</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>Good point!
It's mentioned in the github wiki here: <a href="https://github.com/tomhea/flip-jump/wiki/Learn-FlipJump#memory---how-can-we-implement-variable">https://github.com/tomhea/flip-jump/wiki/Learn-FlipJump#memo...</a><p>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: <a href="https://esolangs.org/wiki/FlipJump" rel="nofollow">https://esolangs.org/wiki/FlipJump</a></p>
]]></description><pubDate>Fri, 17 Jan 2025 21:23:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=42743413</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42743413</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42743413</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>By the way, as a challenge, try how you can program an "If" statement in Flipjump.</p>
]]></description><pubDate>Fri, 17 Jan 2025 21:17:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=42743342</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42743342</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42743342</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>I dont think that the jump can be realized by NOT gates, but it's essentially "where to find the next NOT command".
The jump is indeed a crucial part of the language, as it allows going back, and especially to make self-modifying code.</p>
]]></description><pubDate>Fri, 17 Jan 2025 21:15:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=42743325</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42743325</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42743325</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>You are indeed right</p>
]]></description><pubDate>Fri, 17 Jan 2025 21:08:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=42743251</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42743251</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42743251</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>There is also a brainfuck to flipjump compiler: <a href="https://github.com/tomhea/bf2fj">https://github.com/tomhea/bf2fj</a></p>
]]></description><pubDate>Fri, 17 Jan 2025 20:12:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=42742758</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42742758</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42742758</guid></item><item><title><![CDATA[New comment by tomhee in "Show HN: Compile C to Not Gates"]]></title><description><![CDATA[
<p>Thanks man, I appreciate it.</p>
]]></description><pubDate>Fri, 17 Jan 2025 20:10:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=42742743</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42742743</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42742743</guid></item><item><title><![CDATA[Show HN: Compile C to Not Gates]]></title><description><![CDATA[
<p>Hi! I've been working on the flipjump project, a programming language with 1 opcode: flip (invert) a bit, then jump (unconditionally). So a bit-flip followed by more bit-flips. It's effectively a bunch of NOT gates.
This language, as poor as it sounds, is RICH.<p>Today I completed my compiler from C to FlipJump. It takes C files, and compiles them into flipjump. I finished testing it all today, and it works!
My key interest in this project is to stretch what we know of computing and to prove that anything can be done even with minimal power.<p>I appreciate you reading my announcement, and be happy to answer questions.<p>More links:<p>- The flipjump language: <a href="https://github.com/tomhea/flip-jump">https://github.com/tomhea/flip-jump</a> <a href="https://esolangs.org/wiki/FlipJump" rel="nofollow">https://esolangs.org/wiki/FlipJump</a><p>- c2fj python package <a href="https://pypi.org/project/c2fj/" rel="nofollow">https://pypi.org/project/c2fj/</a></p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=42742350">https://news.ycombinator.com/item?id=42742350</a></p>
<p>Points: 145</p>
<p># Comments: 63</p>
]]></description><pubDate>Fri, 17 Jan 2025 19:36:37 +0000</pubDate><link>https://github.com/tomhea/c2fj</link><dc:creator>tomhee</dc:creator><comments>https://news.ycombinator.com/item?id=42742350</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42742350</guid></item></channel></rss>