> I read the cffi docs once again and went through some of the examples. IYes. Precedent in the stdlib is really the C API. All the same rules
> want to divide this to two topics.
> One is what you call the "ABI" level. IMHO, it's hands down superior to
> ctypes. Your readdir demo demonstrates this very nicely. I would definitely
> want to see this in the stdlib as an alternative way to interface to C
> shared objects & DLLs.
> Two is what you call the "API" level, which is where my opinion becomes
> mixed. Some things just don't feel right to me:
> 1. Tying in a C compiler into the flow of a program. I'm not sure whether we
> have precedents for it in the stdlib. Does this work on Windows where
> libraries and DLLs are usually built with MSVC?
apply (including build and ship a dll).So would you say that the main use of the API level is provide an alternative for writing C API code to interface to C libraries. IOW, it's in competition with Swig?