Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services.
MIT License
2.61k
stars
321
forks
source link
Is it possible to use Python bindings without Boost? #1203
I am wondering if it is possible to use python bindings without Boost? Whether pybind11 or something else, which is more python-friendly, would work?
The problem I experienced with boost: I struggle to understand how to compile python binding for an arbitrary python version. Boost.python requires it's own python. I am using CMake + vcpkg, if I simply ask for Boost::python, then it either finds one version (let's say python 3.11) or it fails to find one (if I am building with python 3.9). The problem may be of course not related to bond, but rather to the tooling I use.
I am wondering if it is possible to use python bindings without Boost? Whether pybind11 or something else, which is more python-friendly, would work?
The problem I experienced with boost: I struggle to understand how to compile python binding for an arbitrary python version. Boost.python requires it's own python. I am using CMake + vcpkg, if I simply ask for Boost::python, then it either finds one version (let's say python 3.11) or it fails to find one (if I am building with python 3.9). The problem may be of course not related to bond, but rather to the tooling I use.