nowfound

Dev tools · January 17, 2025

Compile C to Not Gates

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. 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. I appreciate you reading my announcement, and be…

Compile C to Not Gates launched on January 17, 2025 with 145 votes, #289 of 6,142 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 1 year on.

In plain words

Compile C to Not Gates is a compiler that translates C programs into FlipJump, an esoteric programming language built on a single operation: flipping a bit and jumping unconditionally. This tool converts standard C code into sequences of NOT gate-like instructions, demonstrating that complex computation is possible with minimal computational primitives. It is designed for developers and computer science enthusiasts interested in exploring the theoretical limits of computing and understanding how rich functionality can emerge from extremely simple operations.

written from the facts on this page · September 2026

From the sources

Compiling C to FlipJump. Contribute to tomhea/c2fj development by creating an account on GitHub.

This compiler is proof that any program can be compiled into a bunch of NOT operations. Read more about FlipJump: Github , Esolangs , FlipJump Docs . int main () { printf ( "Calculate primes up to: " ); int max_number ; scanf ( "%d" , & max_number ); ... for ( int p = 3 ; p <= max_number ; p += 2 ) { if ( non_prime [ p ] == false) { for ( int i = p * p ; i <= max_number ; i += p ) { non_prime [ i ] = true; } printf ( "%d\n" , p ); } } return 0 ; } Compiled into this: Calculate primes up to: 20 2 3 5 7 11 13 17 19 Program exited with exit code 0x0. How to install Requires Python 3.10-3.14. >>> pip install c2fj >>> sudo apt install picolibc-riscv64-unknown-elf How to use Simply c2fj file.c…from github.com

In the maker’s words, at launch

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. Today I completed my compiler from C to FlipJump. It…

Does a similar job

all alternatives →
  • FlipJump – I Created a Programming Language2023 · github.com · ▲9

    Hi all! I built FlipJump, a programming language with just 1 opcode, yet capable of any computation. It started with thinking of the idea of the minimalistic language, but it's more than that - I had to set up the whole environment for it: I have written a macro-assembler, an interpreter for the binary, and a very extensive standard library. I also written about ~30 programs in it. Also, the standard library is tested. I also wrote an esolangs page: https:&#x2F;&#x2F;esolangs.org&#x2F;wiki&#x2F;FlipJump Tell me what you think!

  • I wrote a minimal memory allocator in CNov 2025 · github.com · ▲137

    A fun toy memory allocator (not thread safe, that's a future TODO). I also wanted to explain how I approached it, so I also wrote a tutorial blog post (~20 minute read) covering the code which you can find the link to in the README.

  • FlopperZiro – A DIY open-source Flipper Zero clone2025 · github.com · ▲364

    A Flipper Zero clone, but cheapest, DIY and simply Open Source, made with Arduino IDE - lraton/FlopperZiro

  • A hash array-mapped trie implementation in C2023 · github.com · ▲171

    Long-simmering side project that is finally ready to see the light. HAMTs are a cool persistent data structure and implementing one has been a lot of fun. Beyond the code, there is likely some value in the extensive and largely complete implementation docs; basic benchmarks are linked in the README, too. Kind of aiming to be "the libavl for HAMTs". That is obviously a high and aspirational bar but a distinct possibility if it stirs up a little interest and&#x2F;or contribution. Anyways, it's time for this to go out, collect feedback and maybe even some use outside of toy projects. Let me…

  • GI
    Going into freshman year, figured I should build an interpreter2023 · ▲138

    Hi all! I'm going into my freshman year, and figured that the best way to prepare for the intro to programming Racket course would be to implement my own garbage-collected, dynamically typed, functional programming language in C ;) Anyways... here's the repo: https:&#x2F;&#x2F;github.com&#x2F;liam-ilan&#x2F;crumb I started learning C over the summer, so I still have a whole lot to learn... Any feedback would be greatly appreciated! :D

  • My C compiler compiled itself2024 · github.com · ▲275

    One of the most challenging projects of my life :)

More dev tools this month

the category →
  • /dev/null▲490

    a social network for devs

    Dev tools · 4d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 28d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 26d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 24d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 21d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 29d ago · corespeed.io

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, January 2025

the whole month →
  • Hello! I'm Byran. I spent the past ~6 months engineering a laptop from scratch. It's fully open-source on GH at: https:&#x2F;&#x2F;github.com&#x2F;Hello9999901&#x2F;laptop

    Dev tools · 2025 · byran.ee

  • TI

    I realized that the PDF engines of modern desktop browsers (PDFium and PDF.js) support JavaScript with enough I&#x2F;O primitives to make a basic game like Tetris. It was a bit tricky to find a union of features that work in both engines, but in the end it turns out that showing&#x2F;hiding annotation "fields" works well to make monochrome pixels, and keyboard input can be achieved by typing in a text input box. All in all it's quite janky but a nice reminder of how general purpose PDF scripting can be. The linked PDF is all ASCII so you can just open it in a text editor, or have a look at…

    Life & fun · 2025 · th0mas.nl

  • 21st.dev▲1,211

    I originally built this app to organize and reuse interesting React + Tailwind components I came across on Twitter, inspired by the shadcn&#x2F;ui approach. Later, a friend started contributing their own components, and it got me thinking—this could grow into something bigger, like an NPM for design engineers to share and use components. Would love to hear your thoughts!

    Dev tools · 2025 · 21st.dev

  • Create lifelike, personalized AI avatars from text prompts

    AI · 2025 · jogg.ai

  • Turn Figma designs into full stack apps with AI

    Dev tools · 2025 · figma.com

  • CSS library based on Counter Strike 1.6 UI.

    Life & fun · 2025 · cs16.samke.me