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

Convert some core classes to C++ #306

Merged
merged 236 commits into from
Sep 19, 2024
Merged

Convert some core classes to C++ #306

merged 236 commits into from
Sep 19, 2024

Conversation

gentlegiantJGC
Copy link
Member

@gentlegiantJGC gentlegiantJGC commented Sep 17, 2024

This is still heavily WIP but I am going to merge this as-is and continue developing with smaller pull requests.

pybind11 generates a TypeError here
This header will contain common headers
C++ does not have virtual classmethods so the ABC was only useful for repr.
A macro has been added to easily implement repr and state protocol.
This will analyse the C++ source code and generate a Visual Studio solution file and other needed file to allow compilation in Visual Studio.
VS is much faster than pip install
Moved C++ source into the python package.
The version vector is now stored under vec
Some much has changed that the tests need re-doing.
Moved them for now and will migrate them back slowly.
@gentlegiantJGC gentlegiantJGC changed the title Cpp Convert some core classes to C++ Sep 19, 2024
@gentlegiantJGC gentlegiantJGC marked this pull request as ready for review September 19, 2024 09:26
@gentlegiantJGC gentlegiantJGC merged commit 0ae969a into 2.0 Sep 19, 2024
8 checks passed
@gentlegiantJGC gentlegiantJGC deleted the cpp branch September 19, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant