Analysis of the reason why java lives longer than .net

I am using java now, but a long time ago, I was a .net developer. In fact, in the era when desktop software development is king, I think the .net development environment and .net framwork are indeed much better than java. Java has to learn a lot more than .net.

So why am I switching to java now?

I boil it down to the following points:

1. If it is a windows desktop, .net is far better than java. Before Android came out, I was actually optimistic about .net more than java. But since Android and Apple came out, windows desktop applications began to decline. Web, ios, and android have become the three mainstream front-end architectures, and only major manufacturers can develop windows desktop applications. Imagine if you are a small company, in this age, is anyone going to download your software? In addition to common software such as office, browser, QQ, WeChat, and programmer IDE software, basic users rarely install other windows software. To install is to install the android and ios versions.

2. For the simple development of web system, .net is at a disadvantage compared to java. Because Java can be cross-platform, it supports linux deployment, but .net cannot support linux, which is naturally a big disadvantage for windows that require copyright fees. Although Microsoft made .net compatible with Linux before, it was too late, and the wind direction had long changed and it was irreparable.

3. The modern architecture design of separation of front and back ends has taken Microsoft's original webview control technology out of the stage of history. If it is a pure background, it will completely copy Java's mvc technology. This is too late for the start of .net.

4. In terms of ecology, java crushes .net. The current technical architecture, such as new technologies such as hadoop, mq, continuous integration, etc., are inherently more friendly to java, because these are open source software, and .net is developed by Microsoft , By nature, the support for these new technologies is not so perfect, nor can it keep up with the pace of the times.

Of course, .net also has his advantages:

1. Portal website development is faster than java development, because the portal website needs friendly seo, so it is better to use php, asp.net and jsp without separating the front and back end architectures, and the deployment is more convenient. Such lightweight .net and php are more convenient to match and deploy than heavyweight java.

2. The development efficiency of small projects should be higher.

Guess you like

Origin blog.csdn.net/weixin_48914851/article/details/113744957