[m-rev.] for review: Use a better algorithm for unwinding version_arrays.
Paul Bone
paul at bone.id.au
Tue Sep 9 14:24:54 AEST 2014
On Thu, Aug 07, 2014 at 12:49:52PM +1000, Paul Bone wrote:
> On Wed, Aug 06, 2014 at 02:27:37PM +1000, Peter Wang wrote:
> > I think it would be better to update the C# backend at the same time.
> > If you can't test it then make a best effort and post an updated patch,
> > then I can fix any minor compilation problems.
> >
>
> Right now I can't even run the mono compiler. So I'll have to fix this
> before I can make any reasonable amount of progress.
>
Hi Peter,
The RTS for the C# backend is organised differently from the other backends.
It seems to be contained within one file runtime/mercury_dotnet.cs. Or is
it? is this file used by the C# backend or just the old .net backend?
When implementing this change for the Java backend I moved the MercuryBitmap
class from library/bitmap.m into java/runtime/MercuryBitmap.java. I'd like
to do the same for the C# MercuryBitmap class but I'm not sure this will be
any better than leaving it where it is.
So far I've left MercuryBitmap in bitmap.m and I'm trying to use it from
version_array.m's C# code. But I don't know how to reference it. I've
tried using the name "MercuryBitmap" and prefixing it with
"bitmap.MercuryBitmap" (but "bitmap" isn't a namespace). If you could help
me with C# that'd be great. I've created a branch with this work on it
here:
https://github.com/PaulBone/mercury/tree/version_array
Thanks.
--
Paul Bone
More information about the reviews
mailing list