> 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 _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
