In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail the necessity of the transition from VB to VB.NET. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
The need for a transition from VB to VB.NET:
Although VB has been recognized by many people, there are many supporting products that provide the interface of VB. However, with the passage of time, its shortcomings are gradually exposed, and some of them are even "intolerable". First of all, as an explanatory language, not only the execution speed of the program is slow, but also need to bring the interpretation library when distributing the application; secondly, VB is not a complete object-oriented development language, fundamentally speaking, it should be a process-oriented development language.
As the next generation of VB language, VB.NET is a program language tailor-made for the development of .net platform applications. Because. Net FrameWork (.net framework) and CLR (Common Language Runtime, common language runtime) are fully integrated into VB.NET. At the same time, the Net framework and the common language runtime provide support for VB.NET language interoperability, garbage collection, reliable security, and version improvement. With VB.NET, you can easily and quickly create .net platform applications, XML Web services and ASP.NET Web applications. VB.NET as a programming language for the development of. Net platform, it makes it possible to develop cross-platform programs. Because we know that Microsoft launched .net, one of its purposes is to achieve cross-platform. Although Microsoft only provides a .net framework that runs on the Windows platform, it is not possible to achieve a true cross-platform, but with the emergence of MONO (although it still has many problems, and the current MONO only supports C #), it can be foreseen that in the near future, VB.NET will not take long to implement Write Once And Run AnyWhere.
VB.NET is a compiled language, but this compilation is different from previous compilations. Because the files compiled by the VB.NET compiler are not binary files that can be run directly on the computer. Its nature is an IL file (intermediate language file). When running an IL file, the first step is to compile the IL file into a binary file through JIT (just-in-time compiler) under CLR. The program we see running is actually a binary file compiled by JIT. At this time, many friends may ask whether this secondary compilation is superfluous, whether it is very troublesome in the specific implementation, and whether it will affect the running speed of the program. It is true that the second compilation affects the speed of the program, but it makes it possible to achieve cross-platform. In fact, this compilation process is like the JVM (Java virtual machine) in Java. It is JVM that enables Java to develop cross-platform applications. Secondary compilation is that CLR automatically converts IL files to binary files under the .net framework, which is completed automatically and does not require human participation, so it will not bring trouble to the execution of the program.
VB.NET is also a real object-oriented development language, it can be said that the idea of OOP has gone deep into any corner of the language, such as: the Windows component created in VB.NET is inherited from the class, and the class is instantiated. VB.NET also adds many new and improved features, such as inheritance, interface, and overloading, which make VB.NET a powerful object-oriented programming language.
Microsoft launched VB.NET as well as Visual Studio. Net, a development tool for VB.NET. One of the important reasons why Java programmers envy VB.NET programmers is that VB.NET has any integrated development environment that is better than the development environment used by Java programmers today-VB.NET.
This is the end of the article on "the necessity of transition from VB to VB.NET". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.