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

Python integration #31

Merged
merged 13 commits into from
Aug 13, 2023
Merged

Python integration #31

merged 13 commits into from
Aug 13, 2023

Conversation

calumrussell
Copy link
Owner

@calumrussell calumrussell commented Aug 6, 2023

  • Build working PoC with no data movement between Rust and Python
  • Build working PoC with data movement between Rust and Python
  • Create zero-copy data structures in DataSource that can be passed between Rust and Python, and test in PoC
  • Add WASM example build (code for this is in antevorta already).

Longer-term goal is to have trading strategy written in Python running in Rust. I am not sure if this is possible but looking at - https://github.com/pola-rs/polars.

@calumrussell calumrussell marked this pull request as draft August 6, 2023 18:46
@calumrussell calumrussell mentioned this pull request Aug 6, 2023
@calumrussell calumrussell force-pushed the #17-python-integration branch 10 times, most recently from 2cb64f8 to 0c89a07 Compare August 6, 2023 19:31
@calumrussell
Copy link
Owner Author

Generic DataSource has been hardcoded into all dependants, this will have to be changed at some point but wasn't worth doing now as it would require substantial changes to signatures for almost everything.

@calumrussell
Copy link
Owner Author

Not working correctly but appears to be zero-copy.

@calumrussell calumrussell changed the title Python/JS integration Python integration Aug 13, 2023
@calumrussell
Copy link
Owner Author

No time for JS integration.

@calumrussell calumrussell linked an issue Aug 13, 2023 that may be closed by this pull request
@calumrussell calumrussell marked this pull request as ready for review August 13, 2023 16:09
@calumrussell calumrussell merged commit 166b0ba into main Aug 13, 2023
5 checks passed
@calumrussell calumrussell deleted the #17-python-integration branch August 13, 2023 16:11
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.

Python Frontend
1 participant