[Mono-list] Can i use Mono as Script Language in my C++ application?
dan.shryock at gmail.com
Thu Mar 5 12:23:13 EST 2009
On Wed, Mar 4, 2009 at 2:38 PM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
> On Fri, Feb 27, 2009 at 8:12 AM, dodo502b <dodo502b at hotmail.com> wrote:
>> i am looking for something else than the LUA script engine. Can i use Mono
>> in my own C++ application as script language? Is mono developed in pure C++.
>> If so, i would like to use it as indepentend C# interpreter for iphone
>> games. I would develope in C++ 3d engine for iPhone and make a wrapper for
>> mono c#.
>> Is this possible?
> Yes, in fact there's already a company doing exactly this, and a large
> number of shipping iPhone games are using their platform :-)
Even though it would technically work, Apple's requirements for
applications on the iPhone state that code can't be interpreted. So
if you want to use Mono on the iPhone you will have to precompile all
of your .NET assemblies to machine code. This is exactly what Unity
is doing, and what any other Mono based applications on the iPhone are
doing as well. I haven't tried it myself, but I remember Miguel de
Icaza blogging about it here. Hope this helps.
More information about the Mono-list