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.2K stars) and cython (10.9K stars). GitHub.Locker tracks 11 Ffi repositories with 61.5K stars combined. The fastest-growing on October 17 was spinel, with +11 stars in a day.

11Projects
61.5KStars in total
+31Stars in a day

Hot right now

Most stars gained in a day · Oct 17

The all-time top

11 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.2K
  3. #3 · cython/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.

    10.9K
  1. 4

    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.

  2. 5

    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.

  3. 6

    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.

  4. 7

    Roam-Control

    1.1Kseanhowarthdev/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.

  5. 8

    tinyjsapp

    1.1Ktarwin/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.

  6. 9

    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.

  7. 10

    goose

    607aardappel/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.

  8. 11

    sghtmltopdf

    346waka/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