An Easier Way To See The Rotor Code

Have you ever wanted to take a look at the internals of the .NET Framework? Sure you can (and should) fire up Reflector and see the Base Class Libraries, but what about the fully commented source code? What about the parts implemented in C++?

A while back, Microsoft released the Shared Source Common Language Infrastructure (aka the SSCLI aka Rotor). This is a fully working implementation of the ECMA CLI standard and ECMA C# language specification. So it's not quite the entire framework, but it is still quite a bit of code.

Traditionally, to look at this code you would download the compressed archive and play around with it locally.

Development-CostBut if you want to just quickly browse the code, you can view all of its nearly three million lines of code on its project page on Koders.com.

Wouldn't it be fun to compare that development cost estimate with the real number? I doubt Microsoft is interested in disclosing that information.

To search within this project, you just need to set the search scope.

For example, here are the search results for DateTime and here is the page with the DateTime implementation complete with comments.

Koders - datetime.cs - Windows Internet Explorer

Other Great Projects to Look At

I mentioned a couple of great projects to look at over on the Koders blog, but here are some other great projects of interest to me now included in the Source Code Index.

  • DotNetNuke - One of the largest open source projects on the .NET Framework.
  • Subsonic - Some think this project should be called Sublime for how it brings fun back to ASP.NET development.
  • Subtext - Of course I'm going to mention this!
  • PSP Development Tools - Because we all want to write the next great game for the Play Station Portable.
Technorati tags: , ,

What others have said

Requesting Gravatar... Mads Kristensen Jul 12, 2007 2:32 PM
# re: An Easier Way To See The Rotor Code
This is great news! I always wanted to have the whole thing with code comments as a reference.
Requesting Gravatar... Member Blogs Jul 12, 2007 6:07 PM
# Links (7/12/2007)
.NET Learning Powershell Without Leaving the Command Line Watching your computer breath using FileSystemWatcher
Requesting Gravatar... fabiopedrosa Jul 12, 2007 9:21 PM
# re: An Easier Way To See The Rotor Code
I don't know what take account in the development costs algorithm at Koders, but Microsoft certinally spent a lot more. This probably didn't take into account the time/money spent on designing and managing this project.
Requesting Gravatar... Jason Haley Jul 13, 2007 7:23 AM
# Interesting Finds: July 13, 2007
Requesting Gravatar... Jason Haley Jul 13, 2007 7:29 AM
# Interesting Finds: July 13, 2007
Requesting Gravatar... Simone Busoli Jul 13, 2007 10:12 AM
# re: An Easier Way To See The Rotor Code
Congratulations Phil, Koders is getting really cool.
Requesting Gravatar... Sam Gentile Jul 24, 2007 6:15 AM
# New and Notable 179
Ever hear the story of the guy who responded to ScottW's Facebook NJ Developers and DonXML 's
Requesting Gravatar... WCF Community Bloggers Jul 24, 2007 6:42 AM
# New and Notable 179
Ever hear the story of the guy who responded to ScottW's Facebook NJ Developers and DonXML 's

What do you have to say?

(will show your gravatar)
Please add 4 and 2 and type the answer here: