carla
carla copied to clipboard
Will future carla use pybind11 as Python API?
Hi,
Carla is a great work!
Carla uses boost.python as python api, and there is another python-c++ api pybind11. As far as I know, pybind11 is more pure and simple, while boost.python needs whole boost lib to be installed. So I want to know will carla use pybind11 as your python api inthe future?
Best regards!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Using pybind11 to refactor python-c++ api also can provide typing information using mypy. This would make carla more self documenting. It is realy an important feature for user that using modern IDEs like VSCode, Pycharm.
Hi,
When I have some time I may look into whether pybind would degrade performance. Are you asking because you want to have type info or because compiling boost is too slow? If it's the second the current build system rework should significantly lessen this problem.
Marcel
Hi,
When I have some time I may look into whether pybind would degrade performance. Are you asking because you want to have type info or because compiling boost is too slow? If it's the second the current build system rework should significantly lessen this problem.
Marcel
Type info is important. I think the pybind11 is modern, simple, popular, with active community support. Carla will benefit from it.
This might resolve Issue #6547 as well.