This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: .NET Managed Extensions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]