C++ Bindings

Open-source C++ projects categorized as Bindings

Top 15 C++ Binding Projects

  • pybind11

    Seamless operability between C++11 and Python

    Project mention: Experience using crow as web server | /r/cpp | 2023-11-06

    I'm investigating using C++ to build a REST server, and would love to know of people's experiences with Crow-- or whether they would recommend something else as a "medium-level" abstraction C++ web server. As background, I started off experimenting with Python/FastAPI, which is great, but there is too much friction to translate from pybind11-exported C++ objects to the format that FastAPI expects, and, of course, there are inherent performance limitations using Python, which could impact scaling up if the project were to be successful.

  • node-webrtc

    node-webrtc is a Node.js Native Addon that provides bindings to WebRTC M87

    Project mention: Is it possible to receive WebRTC stream on a Node JS service as a client? If it is, how can I connect to it? | /r/learnprogramming | 2023-04-18
  • JetBrains Dev Survey

    What’s up with the C++ ecosystem in 2023? JetBrains Developer Ecosystem Survey 2023 has given us many interesting insights. The Embedded (37%) and Games (39%) industries are already working with C++20, developers are incorporating static analysis in their CI, and ChatGPT usage among coders is flourishing. Read on for more!

  • nanobind

    nanobind: tiny and efficient C++/Python bindings

    Project mention: Progress on No-GIL CPython | news.ycombinator.com | 2023-10-20

    Take a look at https://github.com/wjakob/nanobind

    > More concretely, benchmarks show up to ~4× faster compile time, ~5× smaller binaries, and ~10× lower runtime overheads compared to pybind11.

  • nvk

    Vulkan API for JavaScript/TypeScript

    Project mention: How is it going with the NVIDIA open gpu kernel modules? | /r/linux | 2023-04-19
  • ruby-opencv

    Versioned fork of the OpenCV gem for Ruby

  • binder

    Binder, tool for automatic generation of Python bindings (by RosettaCommons)

    Project mention: The future of Clang-based tooling | news.ycombinator.com | 2023-07-29

    Have you seen https://github.com/RosettaCommons/binder ?

    python aside, having gone down this rabbithole, and still not infrequently revisiting said rabbithole, I don't believe using *clang like this a winning strategy. Because of the number of corner cases there are in eg C++17, you will end reimplementing effectively all of the "middle-end" (the parts that lower to llvm) for your target language. At that point you're building bindings anymore but a whole-ass transpiler. Binder fails to be complete in the way.

    My current theory is to try "synthesize" bindings from the llvm ir (a much smaller representational surface). Problems abound here too (ABI).

  • dotherside

    C language library for creating bindings for the Qt QML language

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • popsicle

    Popsicle aims to bridge the JUCE c++ framework to python. (by kunitoki)

  • souffle-haskell

    Haskell bindings for the Souffle datalog language

  • wrenpp

    Minimal, zero dependency C++ binding generator for the Wren programming language

  • genepi

    Automatic generation of N-API wrapper from a C++ library

  • godopy

    [WIP] Python scripting for the Godot game engine

  • EmGlue

    🕸️ Glue C++ to your browser! Universal bindings for JavaScript/Wasm using Glue and Embind.

  • node-interception

    A windows library for intercepting and controlling keyboards and mouses with multiple devices support.

  • g3logPython

    Python bindings for g3log

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-11-06.

C++ Bindings related posts


What are some of the best open-source Binding projects in C++? This list will help you:

Project Stars
1 pybind11 14,493
2 node-webrtc 2,653
3 nanobind 1,892
4 nvk 903
5 ruby-opencv 813
6 binder 300
7 dotherside 193
8 popsicle 145
9 souffle-haskell 98
10 wrenpp 96
11 genepi 75
12 godopy 30
13 EmGlue 20
14 node-interception 11
15 g3logPython 4
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.