[Mono-dev] full AOT support

Jonathan Shore jonathan.shore at gmail.com
Mon Apr 23 14:37:59 UTC 2012


Duane,

Actually I do run this app embedded (and also standalone).   I found that
the performance I obtained with embedded was much lower (because uses the
mono JIT vs LLVM by default).   I had tried to get it to use LLVM embedded
and failed.  Had tried with:

char* options = "--llvm";
mono_jit_parse_options (1, &options);

This function does not contain an option for llvm though.   Not sure if
this is an oversight or whether there is an alternate way to set this up.

If I can get llvm enabled would be very helpful.

Thanks
Jonathan

On Mon, Apr 23, 2012 at 7:24 AM, Duane Wandless <duane at wandless.net> wrote:

> I believe the best solution is to use obfuscation and embed mono within
> your app.  Not using mkbundle because of the licensing requirements.  It is
> not hard to embed the mono runtime.
>
> On Sun, Apr 22, 2012 at 2:26 PM, Rodrigo Kumpera <kumpera at gmail.com>wrote:
>
>>
>>
>> On Sat, Apr 21, 2012 at 9:24 PM, Jonathan Shore <jonathan.shore at gmail.com
>> > wrote:
>>
>>>
>>>
>>> On Sat, Apr 21, 2012 at 8:03 AM, Rodrigo Kumpera <kumpera at gmail.com>wrote:
>>>
>>>>
>>>> what platforms is --aot=full supported on?
>>>>
>>>> linux/amd64, linux/x86, iOS/arm and ppc/? are the supported
>>>> configurations.
>>>>
>>>
>>> Thanks.  ic, so windows would not be one of those platforms.
>>>
>>>
>>>>
>>>> Why do you think you need FullAOT? Its a tecnology targeted at
>>>> environments that won't support JIT. Use simple AOT if you can.
>>>>
>>>>
>>> We have to distribute out some sensitive stuff for paralllel-distributed
>>> execution across machines we lease in places like china.  Want full AOT so
>>> that we can distribute with:
>>>
>>>    1. inability to decompile (easily)
>>>    2. minimal footprint and no mono installation requirement
>>>
>>> Does that make sense, or is there a better way to do this?
>>>
>>
>> Use obfuscation and mkbundle.
>>
>> Be aware that any of those solutions must comply with the LGPL.
>>
>>
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>


-- 
Jonathan Shore
http://tr8dr.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120423/45c6aa97/attachment.html>


More information about the Mono-devel-list mailing list