4 ms·
Neat! One of the projects that I wrote when learning Rust was a BrainFuck interpreter and JIT for x86_64[1]. Interestingly, my JIT appears to be run some progra
by bdash 11y ago
Neat! One of the projects that I wrote when learning Rust was a BrainFuck interpreter and JIT for x86_64[1]. Interestingly, my JIT appears to be run some programs (e.g., mandelbrot.bf[2]) significantly faster than the versions compiled by bfc. That's despite including the optimization and code generation overhead in the timings of my JIT, but excluding them from bfc.
[1]: https://github.com/bdash/brainrust https://github.com/bdash/brainrust
[2]: https://github.com/bdash/brainrust/blob/master/examples/mandelbrot.bf https://github.com/bdash/brainrust/blob/master/examples/mand...