Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hogelog/fast-bf
fast brainf*ck intepreter
https://github.com/hogelog/fast-bf
Last synced: about 1 month ago
JSON representation
fast brainf*ck intepreter
- Host: GitHub
- URL: https://github.com/hogelog/fast-bf
- Owner: hogelog
- Created: 2012-04-22T12:54:24.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-02-21T04:51:04.000Z (almost 11 years ago)
- Last Synced: 2023-04-13T16:16:52.548Z (almost 2 years ago)
- Language: C++
- Size: 248 KB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fast-bf
Where is fastest brainf**k intepreter?
It's fast-bf!
But [rdebath/Brainfuck](https://github.com/rdebath/Brainfuck) is more faster!
## Isssues
## Require
- g++
- xbyak (used by bf-jit)## Build
$ make## Usage
$ ./bf-opt-jit sample/mandelbrot.b## Description
### bf-vm-opt
optimized vm implementation- [direct threading](http://en.wikipedia.org/wiki/Threaded_code#Direct_threading)
- optimize some pattern### bf-jit
jit compiler (x86) implementation- no optimization
### bf-jit-opt
optimized x86 jit compiler implementation- fastest in these interpreters
## Sample
- hello.bf ([http://www.kmonos.net/alang/etc/brainfuck.php](http://www.kmonos.net/alang/etc/brainfuck.php))
- mandelbrot.b, mandelbrot-huge.b, mandelbrot-titannic.b ([http://esoteric.sange.fi/brainfuck/utils/mandelbrot/](http://esoteric.sange.fi/bra
infuck/utils/mandelbrot/))
- long.b ([http://mazonka.com/brainf/](http://mazonka.com/brainf/))## Authors
- [hogelog](https://github.com/hogelog)
- [todesking](https://github.com/todesking)
- more optimization
- useful commandline arguments## See Also
- [fastest-bf-interpreter@slideshare](http://www.slideshare.net/hogelog/fastest-bf-interpreter)