Show HN: Optimizing brainfuck interpreter using only the C preprocessor

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. bfcpp

    Optimizing Brainfuck interpreter in the C preprocessor

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. bfcc

    BrainFuck Compiler Challenge

    I wrote a simple compiler for brainfuck too:

    https://github.com/skx/bfcc

    Compiling to assembly language was pretty fast, but folding in repeated characters definitely made it faster still. Optimizing the assembly wasn't a particular goal, I guess recognizing loops that zero addresses, and similar, would be a good way to start.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Optimizing Brainfuck interpreter in the C preprocessor

    3 projects | news.ycombinator.com | 20 Mar 2025
  • Ask HN: Guidance on writing a source to source compiler (transpiler)

    2 projects | news.ycombinator.com | 12 Mar 2023
  • Better C Generics: The Extendible _Generic

    9 projects | /r/C_Programming | 28 Jan 2023
  • I wrote a Brainfuck to Go compiler

    1 project | news.ycombinator.com | 7 Jun 2022
  • Conditional preprocessor macro, anyone?

    3 projects | /r/C_Programming | 27 Apr 2022

Did you know that Go is
the 4th most popular programming language
based on number of references?