Skip to content

Use nanobind instead of pybind #5

Description

@deependujha

nanobind is used by some of the prominent open-source repos from big-techs, like, SPDL (Scalable and Performant Data Loading) from Meta use nanobind.

Also, according to nanobind's website:

  • it shows up to ~4× faster compile time
  • ~5× smaller binaries,
  • ~10× lower runtime overheads compared to pybind11.
  • nanobind also outperforms Cython in important metrics (3-12× binary size reduction, 1.6-4× compilation time reduction, similar runtime performance)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions