Skip to content

Conversation

@ambray
Copy link
Contributor

@ambray ambray commented Oct 27, 2015

Added document detailing mechanisms for interfacing Python applications with C/C++.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should mention that ctypes is only available on CPython and only works there. It is not supported by PyPy or any other implementation that I'm aware of.

@sigmavirus24
Copy link
Contributor

Any discussion of using C libraries without mentioning CFFI seems incomplete. Would you like to add that discussion @ambray? Most prominent projects that aim to support PyPy, CPython, and other platforms choose CFFI.

@ambray
Copy link
Contributor Author

ambray commented Nov 1, 2015

CFFI section added, and ctypes has been amended to reflect the fact that it is somewhat tethered to CPython.

@sigmavirus24
Copy link
Contributor

Thanks @ambray!

sigmavirus24 added a commit that referenced this pull request Nov 1, 2015
@sigmavirus24 sigmavirus24 merged commit 184ef03 into realpython:master Nov 1, 2015
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.

2 participants