Hacker GitHub

← All repos

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

Mentions per year 11 mentions · busiest year 2023 (5)
20082026
  1. …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
  2. …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.
  3. 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
  4. 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
  5. There's nanobind by the same author as pybind11 that's even faster: https://github.com/wjakob/nanobind
  6. …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