[m-dev.] Removal of Managed C++

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Jul 2 23:45:48 AEST 2007

On Mon, 2 Jul 2007, Jonathan Morgan wrote:

> I would like to remove support for Managed C++ from the compiler for
> the following reasons:
> * It is only supported by Microsoft, making it harder to use code
> using it with other platforms (e.g. Mono).
> * It is not used in any of the standard library (C# or IL are used 
> exclusively)
> * Microsoft have deprecated it in favour of C++/CLI
> * Almost anything required by Mercury can be done just as well in C#
> (possibly better).
> * Removing it will simplify the dependencies and the build process,
> and limit the amount of work that has to be duplicated in both C# and
> MC++ [incidentally, Eric Taucher asked independently for it to be
> removed for the same reason]
> I will remove support shortly unless there are any major objections to
> it.  While it might be an interesting project to convert the support
> for MC++ to support C++/CLI,

(On a somewhat related note, I have a change lying around somewhere that
adds C++ as a foreign language for the C backends - it probably does
some of the work necessary for C++/CLI.)

> I think that it will be better for the
> compiler just to drop C++ completely and focus on C#, which seems to
> do almost everything required for our purposes.

I was under the impression that support for MC++ was deprecated anyway.
I have no objections to it being removed.

mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au

More information about the developers mailing list