Skip to content

Part of a simple JIT compiler, written in C++.

License

Notifications You must be signed in to change notification settings

pavponn/os-jit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JIT compiler

This is an educational project, aim is to to understand how JIT compilers work.

Function, provided here, is simple: it multiplies two numbers (255 and 4 by default).

Architecture: x86-64.

Supported commands

  • execute <arg1> <arg2> - executes function with specified arguments, it's possible to specify both, one or none of them;
  • exit - close program;
  • help | -help | --help - print help message.

Build

$ mkdir build
$ cd build
$ cmake ..
$ make

Requires C++14 compiler.

Test

Tested manually on macOS Mojave 10.14.3 and Linux 4.12.

Copyright

Pavel Ponomarev, 2019 (pavponn@gmail.com)

MIT License.

About

Part of a simple JIT compiler, written in C++.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.0%
  • CMake 2.0%