wjakob/nanobind
View on GitHub ↗ ★ 3,772 C++
nanobind: tiny and efficient C++/Python bindings
11 mentions on Hacker News by 10 people: 5 stories, 6 comments · first 2022-03-07 · latest 2025-07-16
20082026
-
…with hatch & scikit-build. I suggest having a look at the pyproject and src/faebryk/core/cpp. [0] https://github.com/wjakob/nanobind [1] https://github.com/atopile/atopile
comment by iopapa · 2025-07-16 · in cppyy: Automatic Python-C++ Bindings -
…multiple languages are involved. When I'll get to perf I plan to experiment a bit with nanobind ( https://github.com/wjakob/nanobind ) and see if there's a noticeable difference wrt ctypes.
comment by nirw4nna · 2025-06-18 · in Show HN: I built a tensor library from scratch in C++/CUDA -
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.
comment by sitkack · 2023-10-21 · in Progress on No-GIL CPython -
People should not take that an endorsement of Swig. Please use ctypes, cffi or https://github.com/wjakob/nanobind Beazley himself is amazed that it (Swig) is still in use.
comment by sitkack · 2023-07-19 · in Advanced Python Mastery -
There's nanobind by the same author as pybind11 that's even faster: https://github.com/wjakob/nanobind
comment by Simononon · 2023-07-18 · in Swig – Connect C/C++ programs with high-level programming languages -
…PyBind11 by the same author (Wensel Jakob), and move as much performance critical code to C or C++. https://github.com/wjakob/nanobind If you really care about performance called from Python, consider something like NVIDIA Warp (Preview).…
comment by erwincoumans · 2022-04-04 · in Cython is 20