.NET Managed Extensions

Steven Bosscher s.bosscher@student.tudelft.nl
Tue Jan 15 19:01:00 GMT 2002


Op wo 16-01-2002, om 01:04 schreef Joe Buck:
> > Are you planning of introducing .NET Managed Extensions to g++ ??
> 
> No.
> 
> That doesn't mean that if someone should implement this feature it
> wouldn't be accepted, but as far as I know, no one is working on it.
> 
> I suppose you could ask the GNU Mono people if they are looking at this.
> 

It's _Ximian_ Mono :)   DotGNU is the GNU .NET project.

Both have developed their own C# compiler:
- the Mono comiler is written in C#.  It compiled itself a couple of
weeks ago.
- the DotGNU compiler is written in C and can be compiled with GCC.

Both projects indicate that they would like to integrate their compiler
in GCC (see their FAQ and contributing pages).

The problem is that GCC's internal representation (RTL) was designed to
create code for register based CPU's.  C# (and Java) compilers create
byte code code for stack-based abstract machines (GJC has its own,
separate back end for creating byte code).

See question 2.4 in the Portable.NET FAQ:
http://www.southern-storm.com.au/pnet_faq.htm

Greetz
Steven



More information about the Gcc mailing list