[Mono-dev] Embedded Mono question

Miguel de Icaza miguel at novell.com
Mon May 5 19:44:15 EDT 2008


Hello,

> Are you planning on having other long term alternatives for this scenario inside the Mono API?

We currently do not have any plans to expand on that direction;   Doing
the C/C++ CLI approach similar to Microsoft is really outside of the
scope of what our team can achieve, so we have left that aside.

There are a few options for enterprising developers to pursue, like
hooking up to GCC's backend and generating the stubs automatically for
you, but it is not something that we are currently planning on doing as
part of Mono.


> From: Miguel de Icaza [mailto:miguel at novell.com]
> Sent: Monday, May 05, 2008 2:39 PM
> To: Luis Villegas
> Cc: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] Embedded Mono question
> 
> Hello,
> 
> > How can achieve the same with Mono?
> 
> Today you have two choices, they both boil down to exposing the API in a
> C-friendly way.   You can bind the API by hand and expose C callable
> methods (extern "C" { void ... }), this is what we do in Moonlight, we
> expose C entry points to constructors, destructors and methods that must
> be invoked from managed code.
> 
> The other option is to generate the bindings using a tool like SWIG that
> is able to generate the bindings by parsing header files.
> 
> Miguel.
> >


More information about the Mono-devel-list mailing list