[Mono-dev] How To Convince Mono To Allocate Big Arrays
Rodrigo Kumpera
kumpera at gmail.com
Thu May 8 07:45:18 EDT 2008
We want to keep changes to a minimum and we want to keep default array size
32bits. Renaming from guint32 to whatever_t is API/ABI compatible
if the underlying type keeps been the same. Using 64bits array length
changes the ABI in incompatible ways and that's why Paolo's suggestion of
doing some symbol renaming in libmono to make sure you cannot link between
those two.
I guess the only breaking changes we expect to have are due to the new
garbage collector that requires write barriers.
Rodrigo
On Thu, May 8, 2008 at 8:39 AM, Jonathan Pryor <jonpryor at vt.edu> wrote:
> On Wed, 2008-05-07 at 23:50 -0300, Rodrigo Kumpera wrote:
> > To have your patch integrated, some changes are needed. First, we want
> > to default to 32bits sized arrays on 64bits machines
>
> Silly question, but why? We have Mono 2.0 coming up, so it should be
> safe to change the public API/ABI to support 64-bit arrays everywhere on
> 64-bit platforms now, no?
>
> Thanks,
> - Jon
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080508/ef1c97b9/attachment.html
More information about the Mono-devel-list
mailing list