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

Add c-code section to python style guide #18

Open
stscicrawford opened this issue Aug 9, 2018 · 0 comments
Open

Add c-code section to python style guide #18

stscicrawford opened this issue Aug 9, 2018 · 0 comments

Comments

@stscicrawford
Copy link
Contributor

@eteq:

We should probably mention something about wrapping C code. I don't think we want to be overly-perscriptive, but maybe something like "Try Cython because it's easier for others to read, supports numpy (use the memoryview technique for that) and builds with a python project mostly transparently. If that doesn't work, try other reasonably standard tools like pybind. If that doesn't work, use the C-API directly but use existing build machinery instead of rolling your own if at all possible."?

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