On Wed, Oct 7, 2009 at 10:42 PM, David Cournapeau <[email protected]> wrote: > 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 >
Also, here's a 5 part article for those who might be interested. I'd love to see plugin frameworks more widely adopted. http://www.ddj.com/cpp/204202899 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
