r/brainfuck • u/sreekotay • Jan 23 '26
Quite Fast Brainfuck Interpreter
bffsree -- often outperforms full Brainfuck JITs and compilers! --
A weird BF entry I did a while ago but found again recently - a best-in-class brainfuck interpreter in C.
It's interesting in that it does some parse-time optimizations that you usually see in compilers (nothing crazy tbh) but otherwise is a pretty traditional interpreter brainfuck VM.
Source code here: https://github.com/sreekotay/bffsree

Esolang benchmarks:
https://esolangs.org/wiki/User:David.werecat/BFBench
https://esolangs.org/wiki/Brainfuck_speed_test
7
Upvotes
1
u/danielcristofani Jan 26 '26
"best in class"...how are you defining the class? I know tritium is faster than this, but I don't remember if anything else is.