Why does Microsoft embrace open source? Take .net core as an example

Why does Microsoft embrace open source? .net core is Microsoft's open source cross-platform product in recent years. As we all know, the .net framework is a platform based on the .net library, which can run applications in C# and other languages. The relationship between .net core and .net framework, the former is like a castrated version of the latter. This is why I say it is disgusting. If you want to open source, open source and hide it. What is .net core? To put it bluntly, it's just a runtime. What is runtime? The runtime is CLR, Common Language Runtime. It's not that just open source CLR is not sincere enough. Of course there is. With the CLR source code, you can recompile it on other operating systems such as Linux or Mac, and then you can run applications such as C#. Don't get excited, do you think it's all CLR open source? No! Only Core CLR. This is why I say that .net core is a castrated version of .net framework, and Microsoft is disgusting. Microsoft only open sourced a part of it, and I am ashamed to call this part of core clr, are you drinking too much?

You cannot host and run .exe files on core clr, you can only run asp.net programs (dll). So, why did Microsoft spend so much effort to open source the asp.net hosting program core-clr? Of course it is to save asp.net. This is why Microsoft wants to open source .net core (core-clr) to attract more developers. So why attract developers? Of course it is to sell your own products. Asp.net calls sql server is the most convenient, of course you can use c# to call mysql. But to promote their own database products is the key. Microsoft's wishful thinking works well, but do programmers buy it? Do not buy it, now the separation of front and back ends is king. Asp.net is a mixed programming of front and back ends, everything must be developed on the back end. This is impossible in today's market. Now it's suddenly realized that Microsoft has offended the programmers.

And those who want clr to be completely open source and then be able to run the exe program on the Linux side, let's go to sleep. The runtime of this part is not open source. Microsoft just wants to prevent Java from swallowing ASP.NET, Linux swallowing Windows, and by the way, it can revive C#. But can this be solved only by open source core clr? By the way, more than ten years ago, the non-governmental organization mono has realized C#.net cross-platform. What is the significance of .net core now?

Guess you like

Origin blog.csdn.net/nmj2008/article/details/109409708