NET Core, Java and Open Source
We need to talk about itHow open is .NET Core and C#? How does it compare to a platform like Java? Well... let's see.
Disclaimer: The post is a resumed version with lots of links, so be prepared to read it in a DFS or BFS way :)
- In November 2014, The Microsoft team announced that "NET Core is Open Source"
- Included C# and Visual Basic compilers
- Visual F#
- ASP.NET Core
- Entity Framework Core
- NET Core Framework
- Docker support existing
- Originally made open source by Sun in 2006
- Released under GPLv2 CE license. The CE clause allows it to be used in a more restrictive scenario.
- Oracle has a different licensing schema for "Enterprise Java". While the OpenJDK is still safe (and should remain so) Enterprise customers face a different problem.
- It was conceived also as cross-platform and has wide support and a huge knowledge base.
- Also docker-ready
- They are both open source and cross-platform frameworks.
- Java and C# as languages are both Object Oriented and depending on whom you ask, kind of similar.
- Licensing: The MIT License is less restrictive than GPLv2 CE. If this could or could not be construed as meaning "more open" we will need a lawyer to find out. But general consensus is that The MIT License is less restrictive.
- Simplicity of Licensing: NET Core does not have nor requires a different "Enterprise" license. This simplifies licensing model from development to production.
- NET Core is a bit more than just C#, is includes VB and F#.
Where your preferences take you to pick one or the other due to technical or community differences, rest assured that using .NET Core will be at the least as safe (from an Open Source licensing point of view) as using Java.
So... what are you waiting for? dotnet new something...