|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Re: Is C# written in C++ underneath?Why the MS C# compiler was NOT written in C#?
Show quote > The Microsoft C# compiler was written in C++. > > The Mono > http://www.mono-project.com/CSharp_Compiler > C# compiler was written in C# itself. On 2007-11-05 15:37:33 -0800, "Alan T" <alanNOSPAMpltse@yahoo.com.au> said: Assuming Microsoft's C# compiler was the first C# compiler to exist, > Why the MS C# compiler was NOT written in C#? what compiler would they have used to compile a C# version of the C# compiler? Reminds me of an interview I once read with Bjarne Stroustrup where he
mentioned he wrote the first C++ compiler in C++. He added a bunch of macros in C to take C++ code and transform it to C. He then wrote the compiler in C++, used the macros to turn it to C, compiled it and then used the resulting compiler to compile the C++. "Peter Duniho" <NpOeStPe***@NnOwSlPiAnMk.com> wrote in message news:2007110515523664440-NpOeStPeAdM@NnOwSlPiAnMkcom...Show quote > On 2007-11-05 15:37:33 -0800, "Alan T" <alanNOSPAMpltse@yahoo.com.au> > said: > >> Why the MS C# compiler was NOT written in C#? > > Assuming Microsoft's C# compiler was the first C# compiler to exist, what > compiler would they have used to compile a C# version of the C# compiler? > |
|||||||||||||||||||||||