Follow the blog posts to implement BF JIT compiler:
- Adventures in JIT compilation: Part 1 - an interpreter - Eli Bendersky's website
- Adventures in JIT compilation: Part 2 - an x64 JIT - Eli Bendersky's website
All codes are written by the original author: code-for-blog/2017/bfjit at master · eliben/code-for-blog (with some modifications.)
On host machine:
$ vagrant up # Wake up a client
$ vagrant ssh # Log in to the client
On client machine:
$ cd /vagrant # Move to the working directory
$ make # Build
$ ./main # Run