π§ PROTOTYPE β NOT PRODUCTION READY! π§
(But let's be honest: Brainfuck is never ready for production.)
Cranefuck is a high-performance Just-In-Time (JIT) Brainfuck runtime powered by Cranelift. Designed with speed, simplicity, and elegance in mind, this project is the brainchild of a single developer.
- π High-Speed JIT Compilation powered by Cranelift
- π§© Minimalist Design for maximum efficiency
- π₯οΈ Cross-Platform Compatibility (currently tested on Windows)
- π¦ Lightweight Dependencies without sacrificing performance
- π οΈ Optimized Execution Pipeline for running Brainfuck programs
Install directly from GitHub:
cargo install --git https://github.com/skyne98/cranefuckClone the repository and build the release version:
git clone https://github.com/skyne98/cranefuck.git
cd cranefuck
cargo build --releaseExecute a Brainfuck program from a file:
cranefuck --file examples/hello.bfPipe Brainfuck code directly into Cranefuck:
echo "+[----->+++<]>++." | cranefuckDisable JIT compilation and run in interpreter mode:
cranefuck --file examples/hello.bf --mode "interpreter"π¨ FEEDBACK WANTED! π¨
As a solo developer, I welcome you guys to turn this project into a fun community playground for performant brainfuck! Please share your feedback and submit PRs! GitHub.
This project is distributed under the MIT License.
Made with β€οΈ by skyne98