Topics / #ffi

Ffi projects on GitHub

Foreign function interfaces for calling between languages, e.g. Python and Rust.

As of , the most-starred Ffi projects on GitHub are pybind11 (18K stars), pyo3 (16.3K stars) and rust-anything (12.7K stars). GitHub.Locker tracks 12 Ffi repositories with 77.9K stars combined. The fastest-growing on December 1 was rust-anything, with +604 stars in a day.

12Projects
77.9KStars in total
+648Stars in a day

Hot right now

Most stars gained in a day · Dec 1

The all-time top

12 projects · by stars

  1. #1 · pybind/pybind11

    pybind11

    pybind11 is a lightweight header-only C++ library that exposes C++ types in Python and vice versa — mainly to create Python bindings for existing C++ code.

    18K
  2. #2 · PyO3/pyo3

    pyo3

    PyO3 is a Rust library of bindings to the Python interpreter: it lets you write native Python extension modules in Rust, or embed Python and run Python code from a Rust binary.

    16.3K
  3. #3 · erkamyaman/rust-anything

    rust-anything

    A command-line tool for rewriting an existing app in Rust one piece at a time. Each piece is recorded against the original's behavior and must match before the next piece moves on. Your coding agent or you write the Rust, and the tool orders the work and proves each step.

    12.7K
  1. 4

    cython

    10.9Kcython/cython · Cython

    Cython is an optimising compiler for Python: it translates your Python code into C/C++ and compiles it into fast native extension modules. It is the most widely used Python to C compiler.

  2. 5

    xquad

    5.6KQuipNetwork/xquad · Python

    XQuad is a hardware-agnostic toolchain for expressing and running quadratic optimization problems (QUBO / Ising / discrete) across quantum annealers and classical solvers, acting as a common intermediate representation you write once and retarget to any supported backend.

  3. 6

    sdk-rust

    4.3Kastrid-runtime/sdk-rust · Rust

    This is the Rust SDK for building Astrid 'capsules' - sandboxed WASM modules that act as user-space processes in the Astrid OS model, with safe typed access to kernel services like filesystem, IPC, networking, storage, approval, and scheduling.

  4. 7

    goose

    3.7Kaardappel/goose · C++

    Goose is a memory-safe systems programming language with no heap allocator, garbage collector, or lifetime annotations. In its own benchmarks it runs faster than C++ and safe Rust while using less memory.

  5. 8

    spinel

    2.3Kmatz/spinel · C

    Spinel is a Ruby ahead-of-time compiler that turns Ruby source code into standalone native executables by inferring types across the whole program and generating optimized C code.

  6. 9

    tinyjsapp

    1.5Ktarwin/tinyjsapp · C

    tinyjs lets you build native desktop apps in plain JavaScript for both the backend and frontend, shipping as a tiny ~6MB app with no Electron, Node, or bundled Chromium — the backend runs on txiki.js and the frontend renders through the system's native WebKit.

  7. 10

    Roam-Control

    1.2Kseanhowarthdev/Roam-Control

    Roam Control is a SwiftUI iOS app that lets you choose, test and move your iPhone's reported GPS location for development, QA and responsible personal testing.

  8. 11

    PythonCall.jl

    1.1KJuliaPy/PythonCall.jl · Julia

    PythonCall.jl (with its Python-side counterpart JuliaCall) lets you call Python code from Julia and Julia code from Python through a symmetric interface, converting objects between the two languages.

  9. 12

    sghtmltopdf

    382waka/sghtmltopdf · Rust

    sghtmltopdf is a Rust-based HTML-to-PDF renderer, a 'second generation' successor to wkhtmltopdf and wicked_pdf, built without depending on Chromium, WebKit, or Gecko. It targets structured documents that flow top to bottom with explicit breaks, like invoices and reports, rather than arbitrary web pages.

Often tagged together