/jit-example

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Simple JIT Tutorial

This project was designed to demonstrate the mechanism used in JIT compilation.

System Requirements

Hardware: computer with x86_64 processor
Operating System: Linux or other POSIX compatible system
Software: gcc compiler with capabilty to run c++11 code

Compilation

To compile this example, use the following command:

$ g++ -std=c++11 jit.cpp

Run the example with the following command

$ ./a.out <integer>

For example,

$ ./a.out 42

YouTube Channel