Microsoft has released more of it’s .NET stack into the open source world today as it makes the core .NET execution engine available on its GitHub repository.

CoreCLRMicrosoft has made a substantial contribution to its .NET open source repository today adding the CoreCLR source code to the existing CoreFX libraries.  This contribution represents nearly 2.5M lines of code in both C# and C++ and furthers the journey that Microsoft is on to bring a full .NET open source stack to Windows, OSX, and Linux environments.

From a size perspective, the coreclr repo has ~ 2.6M lines of code. Within that count, the JIT is about 320K lines and the GC about 55k. — .NET Team Blog

While this milestone represents a significant addition to the .NET Core open source stack, there’s still more to come.  In particular this version of code will only compile in Windows with Linux and OSX versions still being worked on.  Microsoft is also having to integrate new platform independent tools such as CMake to enable a true cross platform solution.  The .NET also notes that while they intend to make ASP.NET 5 apps able to run on any platform, the .NET Core isn’t quite ready for that yet.  In the meantime they offer up the ability to write console apps as a byproduct of their engineering efforts with full support including OmniSharp coming in later releases.

We’ve been preparing CoreCLR to release as open source for the last several months, concurrent with new feature development. You’ll now see commits showing up in the CoreCLR repo on a daily basis, much like you have with CoreFX . Please do check out the CoreCLR repo and ‘watch’ it if you want to stay notified on what’s going on there. We’ll be watching the Issue and PR queues to see where you want improvements in the product.  — .NET Team Blog

For more information check out the .NET Team Blog post or this video from Channel 9.  You can get the source code on the .NET Core GitHub repository.