arbor icon indicating copy to clipboard operation
arbor copied to clipboard

Investigate usage of nanobind

Open thorstenhater opened this issue 1 year ago • 2 comments

nanobind seems like a simpler, faster alternative to pybind11. Especially for the quite expensive connections_on trampoline and friends this might be interesting to check out.

thorstenhater avatar Feb 12 '25 13:02 thorstenhater

Would be nice to know the priority of this compared to supporting pybind11 3.0. We hit a build failure in Fedora due to hard-coded version check.

LecrisUT avatar Jul 25 '25 07:07 LecrisUT

Hi, thanks for the mention. I did some exploration with nb, but hit issues with the numpy handling. Nothing that presents a hard blocker, but definitely requiring some work.

As for pybind11 3.0, I'd suggest making a separate issue, but it's on our radar and we'll provide a fix in the coming weeks.

thorstenhater avatar Jul 25 '25 07:07 thorstenhater