It's a 'brave new world' or 'hell has frozen over' (depending on your point-of-view). Microsoft is the top contributor on GitHub, they have opened-sourced their entire .NET platform and gone cross-platform!
In this talk we will look at what the new 'Open-Source' Microsoft actually looks like, what they've done, how they're doing it and what it all means. From new features to compiler design meetings, from TechEmpower benchmarks to increased community contributions, we will examine it all!
How to submit a standout Adobe Champion Application
Microsoft & open source a 'brave new world' - CORESTART 2.0
1. Microsoft and Open Source
a ‘brave new world’
www.mattwarren.org
@matthewwarren
Microsoft MVP 2017 - ??
2. Microsoft and Open Source
a ‘brave new world’
What happened when Microsoft
Open-Sourced EVERYTHING*
* Well, not quite everything, but pretty much all of the .NET Framework
14. Cmd-Line Tooling (CLI)
λ dotnet new
Created new C# project in
C:usersmattdotnet.
λ dotnet restore
log : Restoring packages for
C:usersmattdotnetproject.json...
log : Writing lock file to disk. Path:
C:usersmattdotnetproject.lock.json
log : Restore completed in 23512ms.
λ dotnet build
Compiling dotnet for .NETCoreApp,Version=v1.1
Compilation succeeded.
0 Warning(s)
0 Error(s)
Time elapsed 00:00:01.9025293
λ dotnet run
Hello World!
15. Roslyn (C# Compiler)
C# compiler, written in C#
Can be consumed by 3rd parties
• Syntax highlighting
• Analysers
• Tooling
Language Design Discussions
22. Good
• Organisation and Process
• Never let PR’s rot
• Provide infrastructure
• Allow the community ‘in’
• ‘Getting started’ guides
23. Bad
• Some decisions made behind ‘closed doors’ (e.g. ‘project.json’)
• Microsoft still the ‘gate-keepers’
• Issues slipping through the gaps
• Naming is hard!!
• ‘ASP.NET 5’ -> ‘ASP.NET Core 1.0’
• dnx -> dotnet
29. The organization with the largest
number of contributors to open-
source projects over the past year on
GitHub is, surprisingly, Microsoft,
GitHub announced today.
https://octoverse.github.com/
35. Open Source .NET – 2 years later
http://mattwarren.org/2016/11/23/open-source-net-2-years-later/
36. Do .NET developers care?
• Sustained contributions
• Not just an initial bump
• Opening issues and creating pull-requests
• Bug fixes, entire features, future ideas
• Across the entire stack
• Runtime, Class libraries, Compiler, JIT and even GC
38. How do I contribute?
• Look for ‘up-for-grabs’ issues
•Easy GitHub Search
• Suggest a new feature
•Copying from Java is allowed!
•‘Compact Strings’ – CoreCLR Issues #7083
• Prototype something
• Follow a ‘Getting Started’ guide