Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will future carla use pybind11 as Python API? #3731

Open
zeng-hello-world opened this issue Dec 17, 2020 · 4 comments
Open

Will future carla use pybind11 as Python API? #3731

zeng-hello-world opened this issue Dec 17, 2020 · 4 comments
Assignees

Comments

@zeng-hello-world
Copy link

zeng-hello-world commented Dec 17, 2020

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!

@stale
Copy link

stale bot commented Jul 21, 2021

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.

@stale stale bot added the stale Issue has not had recent activity label Jul 21, 2021
@alanhuang1990
Copy link

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.

@stale stale bot removed the stale Issue has not had recent activity label May 10, 2023
@MarcelPiNacy-CVC MarcelPiNacy-CVC self-assigned this May 10, 2024
@MarcelPiNacy-CVC
Copy link

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

@alanhuang1990
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants