On Thu, Oct 8, 2009 at 1:45 AM, Chris Colbert <[email protected]> wrote:
> using something similar to ctypes dlopen?
>

As mentioned by other, it will be hard to do it if you care about
cross-platformness. Linking and loading dynamic binaries is different
on almost every platform. For example, that's one of the fundamental
difference between the mac os x and elf (linux and solaris) model. And
of course windows is also totally different.

Besides using ctypes, you could look at python sources - look at
Python/import.c, Python/importdl.c and dynload_* for platform
specifics.

To give you an idea, it is ~ 5000 lines of code,

David
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to