What happens in inline ABI level?

17 views
Skip to first unread message

anatoly techtonik

unread,
Jun 2, 2015, 2:17:39 AM6/2/15
to pytho...@googlegroups.com
I feel like docs are missing huge important part that stops
me from understanding the key differences between API/
ABI and inline/external mode.

https://cffi.readthedocs.org/en/latest/overview.html#simple-example-abi-level-in-line

If that paragraph described what happens behind the scene,
like if the operations were made manually, that would clarify
things a lot. Would be awesome if the description was made
in similar patter to ease comparison. For example:

1. when pycparser reads the C code
2. when C compiler is invoked
3. where the compilation step is cached
4. who loads the compiled extension, where

Armin Rigo

unread,
Jun 2, 2015, 5:18:46 AM6/2/15
to pytho...@googlegroups.com
Hi Anatoly,

On 2 June 2015 at 08:17, anatoly techtonik <tech...@gmail.com> wrote:
> https://cffi.readthedocs.org/en/latest/overview.html#simple-example-abi-level-in-line
>
> 2. when C compiler is invoked

As explained just above, in ABI mode no C compiler is invoked.


Armin

anatoly techtonik

unread,
Jun 2, 2015, 5:22:02 PM6/2/15
to pytho...@googlegroups.com, ar...@tunes.org
It is explained, but not so easy to catch visually. A comparison table might be a better reference. Not sure if reST allows that.
Reply all
Reply to author
Forward
0 new messages