[m-rev.] diff: string.m MC++ to C#
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Nov 13 03:18:11 AEDT 2003
On 12-Nov-2003, Peter Ross <pro at missioncriticalit.com> wrote:
>
> library/string.m:
> Convert the MC++ code to C#.
Thanks.
By the way, I recently discovered another reason to avoid using MC++:
according to Rhys Weatherspoon (of Portable.NET fame), Microsoft's MC++
implementation generates IL code which will not work on big-endian
systems:
| Global variables are laid out in .data sections, as if they were
| flat byte arrays, and there is insufficient type information
| to determine what the original contents were to byte-swap or
| re-align.
I suppose it's probably OK if you don't use (initialized?) global variables,
and AFAIK we don't, but still, it's a worry.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list