[IronPython] C Extensions
Sanghyeon Seo
sanxiyn at gmail.com
Sun Jan 7 09:45:17 CET 2007
2007/1/7, slide <slide.o.mix at gmail.com>:
> As it has come up on the list several times, I was wondering if anyone
> had given any thought to implementing an interface such that C
> extensions could be used with FePy I know that FePy would have to
> implement and export (and do some other magic) the C registration
> functions, etc that the C extensions call. On Windows specifically, I
> can envision that the import table of the C extension would need to be
> modified to not rely on libpython, as well as redirecting the addresses
> of the imported Python API functions to FePy functions which do the same
> thing, seems somewhat complicated to me. Is it even feasible to do?
If I understood correctly, Phalanger (PHP implementation for .NET) does
something similar to support PHP's C extensions, so I think it's certainly
possible. That doesn't mean it would be easy in any way.
No, I don't have slightest idea how to implement it.
--
Seo Sanghyeon
More information about the Ironpython-users
mailing list