8 releases

0.0.8 Aug 21, 2022
0.0.7 Aug 21, 2022
0.0.1 Jun 15, 2022

#1020 in Programming languages

Download history 1/week @ 2024-02-14 22/week @ 2024-02-21 6/week @ 2024-02-28 1/week @ 2024-03-13 19/week @ 2024-03-27 47/week @ 2024-04-03

66 downloads per month
Used in gnu-libjit

GPL-2.0-only

2.5MB
68K SLoC

C 47K SLoC // 0.2% comments Rust 7K SLoC // 0.0% comments Happy 6.5K SLoC Ruby 3K SLoC // 0.1% comments Pascal 2.5K SLoC // 0.0% comments C++ 1K SLoC // 0.3% comments Automake 353 SLoC // 0.0% comments Shell 281 SLoC // 0.2% comments

Contains (obscure autoconf code, 15KB) libjit/configure.ac

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"

Dependencies