Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

libjit-sys

gnu-libjit homepage

This project adds raw rust bindings around the libjit package. It is useful as a low startup time jit compiler making it ideal for command line tools, interpreted languages, etc. Time to compile a single function that returns a number is about ~5ms on my old laptop.

You can find a safe rust-style wrapper around the bindings @ github.com/n8ta/gnu-libjit.

Usage

libjit-sys = "0.0.5"

Ubuntu:

sudo apt-get install autoconf pkg-config libtool yacc flex bison automake make g++
cargo build --release