Title: Why no c# native compiler project on win32?
Tags: c#;compiler-construction;winapi
Question: Nowadays open source projects are almost everywhere, especially for compilers, c++ compilers, pascal compilers, even for d language, go language, but why there is not a c# compiler, which works on native windows? Is there any legal restrictions, or any technical barrier? or no market requirement?
I was wondering on this question for quite a long time.
I made another wrong assumption. I works mainly on win32 platform, so my question is for win32 platform (x86). Actually I know mono, and as far as I know, mono can't compile to native &amp; AOT on win32.
Comment: I edited my question to be more specific on win32/x86. How can I reopen this thread? I think now it's a valid question.

Comment: SO doesn't want to be a discussion board. So "Why not" questions are not popular. You can try again, but also change the focus, not just the details.

Comment: I think you are making the wrong assumption that every FOSS project is hosted on sourceforge... Ever heard of savannah or self-hosted projects?

Comment: Microsoft's C# compiler *is* open-source: [The .NET Compiler Platform ("Roslyn") provides open-source C# and Visual Basic compilers with rich code analysis APIs.](https://github.com/dotnet/roslyn) I don't know whether it includes a compiler backend as well. The [CoreRT](https://github.com/dotnet/corert), however, does provide the .NET native compiler toolchain.

Here is the accepted answer: Have you seen the Mono Project?
Comment for this answer: It's sad that only the monotouch is able to compile c# into native cpu code, which is not free, not for win32 neither.


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 4, 'ContentLicense': 'CC BY-SA 2.5', 'CreationDate': '2010:00:08/15/10', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<c#><compiler-construction><winapi>', 'Title': 'Why no c# native compiler project on win32?', 'ViewCount': 581, 'id': 3486730, 'user_AboutMe': '', 'user_AccountId': 28430.0, 'user_DisplayName': 'Felix', 'user_Reputation': 2409.0, 'user_Views': 305.0, 'user_id': 75947.0}}