3 ms·
"On the other hand, there are still scenarios in which managed code simply cannot be used today (such as building the CLR itself or the debugger)." I thought t
by y0ghur7_xxx 17y ago
"On the other hand, there are still scenarios in which managed code simply cannot be used today (such as building the CLR itself or the debugger)."
I thought the Mono CLR is written in C#, as is the C# compiler which compiles itself. Did I misunderstand something?
- snprbob86 17y agoYou can write a self-hosting compiler for C# quite easily. However, the core of the runtime is going to be a major pain in the ass to write self hosting. The Mono guys came to the same conclusion, their tree contains oodles of C/C++: http://www.google.com/codesearch?as_package=mono&as_filename=\.h$ http://www.google.com/codesearch?as_package=mono&as_file...