Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 711 Bytes

README.md

File metadata and controls

37 lines (30 loc) · 711 Bytes

My fast Brainfuck JIT compiler

for x86 and x86-64, using Asmjit

Getting started

  • Install xmake.
  • Clone the repo
$ git clone https://github.com/nomi-san/brainfuck_jit.git
  • Build
$ cd brainfuck_jit
$ git submodule update --init --recursive
$ xmake
  • Test
$ ./brainfuck_jit hello.bf

Benchmark

> mandelbrot.bf
Implementation Time
brainfuck (C interpreter) 9.3s
bff 6.5s
bf2c 1.5s
brainfuck_jit (our JIT) 2.0s