[Mono-list] C++ interop with Mono

obiwanjacobi obiwanjacobi at hotmail.com
Mon Nov 12 13:39:09 UTC 2012


I'm looking into the options in more detail and I was wondering about the
COM/CLR Callable Wrapper. 

The point is that I don't need any real COM services, all I need is an
interop layer between C++ and .NET/Mono. So I was wondering if, once I have
these wrapper generated/created, will they work on Mac and Linux? 

I shy away from the other options because I would like to have as much
control as possible and frankly find the docs for cxxi -how exciting it may
be - non existent. SWIG just generates P/Invoke (as I understand it) and if
I would decide to take that route, I would also prefer to manually code
that. 

Also a question about performance: which of these options would yield the
best performance. The plugin's I'm interfacing are Audio processors so
performance is critical (as in - the best we can manage ;-). So it seems to
boil down to P/Invokes and COM wrappers (not the services) - which one is
faster? 

Thanx so much, 
Marc



--
View this message in context: http://mono.1490590.n4.nabble.com/C-interop-with-Mono-tp4657239p4657337.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list