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

GSoC'24: Implement pybind11 for bindings #216

Open
blueloveTH opened this issue Feb 26, 2024 · 0 comments
Open

GSoC'24: Implement pybind11 for bindings #216

blueloveTH opened this issue Feb 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request gsoc2024

Comments

@blueloveTH
Copy link
Collaborator

blueloveTH commented Feb 26, 2024

Project goal

  • Implement a pybind11 compatible solution to pocketpy as an alternative way to create bindings for c++ functions and classes
  • Support binding use cases for the Cave Engine

Application guide: https://pocketpy.dev/gsoc/guide/

Project mentors

@blueloveTH & @UnidayStudio

Details (The first stage)

We have provided a set of test cases in the following repo.

https://github.com/pocketpy/pkpy_with_pybind11

You need to:

  1. Develop pybind11 headers via meta template programming based on c++17
  2. Pass all test cases provided by @UnidayStudio

Build the repo (Linux)

# clone the repo
git clone https://github.com/pocketpy/pkpy_with_pybind11

# install cmake
pip install cmake

# build
mkdir build
cd build

cmake ..
cmake --build .

# run
./test
@blueloveTH blueloveTH added the enhancement New feature or request label Feb 26, 2024
@blueloveTH blueloveTH self-assigned this Feb 26, 2024
@blueloveTH blueloveTH pinned this issue Feb 26, 2024
@pocketpy pocketpy locked as too heated and limited conversation to collaborators Feb 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request gsoc2024
Projects
None yet
Development

No branches or pull requests

1 participant