[Mono-list] Making a compiler neutral mono (i.e. CodeWarrior, Visual C++)

Miguel de Icaza miguel@ximian.com
25 Apr 2002 12:15:47 -0400


> I think of pinvoke as a reuse mechanism more so than an optimization
> mechanism.  Writing a shell that does frequent calls into C libraries
> with pinvoke may produce enough marshaling overhead to marginalize any
> gains you get from the optimized c code.

There is still a need for something to move between the managed universe
and the native universe.  If P/Invoke is too slow, we should try to find
ways of speeding it up, or find alternate ways to talk to native code
(with Mono this could be as simple as having your register your own
internal call, this is of course non-portable, and not as
easy/featurfull as P/Invoke)

Miguel