From 30e96b7259225eab5bd179028684fc3e77a549ff Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Mon, 9 Sep 2024 23:19:23 +0900 Subject: [PATCH] pybind11 vs nanobind TLDR --- docs/why.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/why.rst b/docs/why.rst index f7dea75f..92455845 100644 --- a/docs/why.rst +++ b/docs/why.rst @@ -225,3 +225,14 @@ The following lists minor-but-useful additions relative to pybind11. Please see the section on :ref:`customizing function signatures ` and :ref:`class signatures ` for further details. + +TLDR +---- + +My recommendation is that current pybind11 users look into migrating to +nanobind. Fixing all the long-standing issues in pybind11 (see above list) +would require a substantial redesign and years of careful work by a team of C++ +metaprogramming experts. At the same time, changing anything in pybind11 is +extremely hard because of the large number of downstream users and their +requirements on API/ABI stability. I personally don't have the time and +energy to fix pybind11 and have moved my focus to this project.