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 bindings #17

Closed
ritchie46 opened this issue Jul 5, 2020 · 2 comments
Closed

Python bindings #17

ritchie46 opened this issue Jul 5, 2020 · 2 comments

Comments

@ritchie46
Copy link
Member

Not a great priority, but would be nice to create Python bindings with Pyo3

@ritchie46
Copy link
Member Author

Transmute wrapper structs to single field child (i.e. PSeries to Series).
https://doc.rust-lang.org/reference/type-layout.html#the-transparent-representation

A Vec<Wrapper> to Vec<Child> is UB, because Vec is repr(rust). Use from_raw_parts and memory dealloc.

https://github.com/llogiq/rfcs/blob/collection-transmute/text/0000-collection-transmute.md
rust-lang/rust-clippy#4484

@ritchie46
Copy link
Member Author

Would consider them existent.

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

No branches or pull requests

1 participant