[IronPython] [python] Re: Announcement: Project to get some CPython C extensions running under IronPython
Michael Foord
fuzzyman at voidspace.org.uk
Wed Oct 17 22:01:43 CEST 2007
Curt Hagenlocher wrote:
> On 10/17/07, *Giles Thomas* <giles.thomas at resolversystems.com
> <mailto:giles.thomas at resolversystems.com>> wrote:
>
> Curt - how does MC++ relate to using P/Invoke? That is, is it
> P/Invoke plus some clever packaging stuff to allow you to produce
> a single assembly with both machine code and MSIL, or is there
> more to it than that? Or is it something completely different?
>
>
> I'd guess they share some internals -- why write the same thunking
> code twice, after all. But their usage patterns are sufficiently
> different that I'd argue the internals don't really matter. P/Invoke
> requires you to declare everything explicitly, while the goal for MC++
> is to make interop as transparent as possible.
I would be sad if we chose any approach that couldn't work on Mono. :-(
Michael
http://www.manning.com/foord
>
> --
> Curt Hagenlocher
> curt at hagenlocher.org <mailto:curt at hagenlocher.org>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
More information about the Ironpython-users
mailing list