[Mono-dev] [PATCH] Implement support for compiled regular expressions in profile 1.x

Rodrigo Kumpera kumpera at gmail.com
Wed Apr 8 14:30:15 EDT 2009


2009/4/8 Aras Pranckevicius <aras at unity3d.com>

> >> Embedding something into AOT'd image (mean linked into main app binary)
> >> makes everything worse in respect to binary size and maybe memory
> footprint.
> >> Maybe I'm missing something in your idea?
> >
> > Yes, the idea is to embed more data from the assembly into the AOT image
> and
> > strip/eliminate the assembly.
>
> I think if it's data (i.e. not a CPU instruction stream), it should
> not be linked into AOT image.
>
> This is mostly specific to the iPhone. Applications can be compressed,
> but Apple first encrypts all the code. So anything that is in the
> executable is effectively not compressible. To save space, everything
> that is not machine code should ideally be outside of the executable.
>
>
Oh, I see, well. There are a couple of things you guys should try:

Use linker/cecil to merge all assemblies before AOT'ng them. This should
save some bytes.

Improve the linker and your linker scripts to be more aggressive and make
more assumptions.

Improve the arm codegen to emit more compact code.

Move some code emitted by the full AOT mode to be fixed functionality of the
runtime.

Fix the runtime so it can be compiled with thumb.

Port the JIT to emit thumb.

Strip more functionality of the runtime.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090408/db59cbc9/attachment.html 


More information about the Mono-devel-list mailing list