Current location - Music Encyclopedia - Today in History - History of programming languages
History of programming languages
The history of VB programming language = = = = = =

Visual Basic was born in 199 1, and now it is 13. BASIC is an original product of Microsoft, and Microsoft certainly does not forget this hero. Every time the wave of Microsoft technology, Visual Basic will be completely transformed. It can be predicted that no matter what technology and platform Microsoft invents in the future, Visual Basic will take the lead with a brand-new attitude. If you want to keep up with Microsoft and always develop the latest technology as quickly as possible, you should choose Visual Basic.

199 1- lightning in the Seattle night sky

With the launch of Windows 3.0, more and more developers are interested in this graphical interface operating system, and a large number of Windows applications begin to emerge. However, the development of Windows programs is very different from the traditional DOS, and developers must devote a lot of energy to developing GUI, which makes many people who want to learn Windows development flinch. 199 1 year, Microsoft showed a product called thunder, and all developers were shocked. It can "draw" the required user interface with the mouse, and then write business logic in simple BASIC language to generate a complete application program. This brand-new "visualization" development, like thunder, has opened a new world for Windows developers. This product was finally named Visual Basic, which adopted event-driven, Quick BASIC syntax and visual IDE. The latest development experience brought by Visual Basic 1.0 is event-driven, which is different from the traditional procedural development. At the same time, VBX controls introduce the concept of visual components into Visual Basic. Visual BASIC 1.0 is revolutionary BASIC, and its birth is also a much-told story in VB history.

Visual Basic 1.0

1992- improving the performance of Visual Basic

With the launch of Windows 3. 1, Windows has been fully recognized by users, and Windows development has entered a new era. The function of Visual Basic 1.0 is too simple, and the powerful function compared with Windows 3. 1 has not been brought into play. So Microsoft introduced a new version of Visual Basic 2.0 in 1992. The biggest improvement of this version is the addition of object variables, such as

Turn b to the command button.

Dim c as control

Moreover, with the original concept of "inheritance", object variables can be divided into general types (controls and forms) and proprietary types (CommandButton and Form 1, etc. ). Variables of common types can refer to instances of proprietary types, and even access properties and methods of proprietary types through late binding. You can also get the runtime type information of an object instance through the TypeOf…Is operator (thIs function is the is operator in C# or the instanceof operator in Java). In addition to the improvement and expansion of the language, Visual Basic 2.0 has a good support for VBX, and many third-party controls have appeared, greatly enriching the functions of Visual Basic. Microsoft also added OLE and simple data access function in Visual Basic 2.0.

Visual Basic 2.0 standard edition

Visual Basic 2.0 professional edition

1993- New Power of Database Components

A few months after the introduction of Visual Basic 2.0, Microsoft released a new version of Visual Basic 3.0, which shows the vigorous vitality of VB at this time. At first glance, the interface of Visual Basic 3.0 has not changed much, but in fact this version is very timely. It adds support for the latest ODBC2.0, Jet data engine and new version of OLE. The most attractive thing is that its support for databases has been greatly enhanced. Grid control and data control can create excellent data window applications, and Jet engine enables Visual Basic to Access the latest Access database quickly. Visual Basic 3.0 also adds many new financial functions. In addition, a considerable number of professional-level controls have been added, which can develop a considerable level of Windows applications. Visual Basic 3.0 was the most popular version of Visual Basic in China before 1998, because the executable files it developed were very small and could usually be loaded on floppy disks. However, many developers are dissatisfied with Visual Basic's practice of running P code through a virtual machine. They think this project is inefficient. At this time, Delphi, the competitor of Visual Basic, was born.

Visual Basic 3.0 standard edition

Visual Basic 3.0 special edition

1995-the second revolutionary change, marching into COM.

From 1993 to 1995, there has been no new action in Visual Basic. Anxious developers want to see what has changed in this mysterious new version. The beta version of Visual Basic 4.0 has finally met with you. This version includes 16 bit and 32 bit versions. The 6-bit version of/kloc-0 is like an upgraded version of Visual Basic 3.0, while the 32-bit version is a new revolution. First of all, people found that VBX control disappeared and was replaced by OCX control. This OCX may reference OLE custom controls. This OLE is no longer a traditional OLE. In today's words, it is a COM control. The second biggest change is that the language used by Visual Basic 4.0 is changed to Visual Basic For Application, which is unified with the macro language used by Office 95. This new language has many bright spots:

1、? Added "class module". This is the basis of the most important encapsulation of object-oriented.

2、? Coupled with attribute process, function process and subroutine process, VB already has the packaging characteristics needed for component development.

3、? Added byte type, Boolean type and object type. This greatly perfects the type system of VB.

4、? For each statement and collection object. For Each statement provides great convenience for traversing collection types. Now, you can use For Each on a dynamically growing collection without worrying about the total number of collection contents or annoying subscripts.

This version of Visual Basic can also develop DLL projects, which are actually the DLL of COM, and the written classes can be shared with other languages in this way.

In a word, version 4.0 laid the foundation for Visual Basic to become a COM language. It is more convenient to develop COM-based DLL with Visual Basic 4.0 than any other development tool. However, the performance problem of Visual Basic 4.0 has become more serious. The component of P code has become a serious performance bottleneck of Visual Basic 4.0, and the huge runtime also makes users dissatisfied. Visual Basic 4.0 does not support the previous version well, so it is difficult to transplant a project that uses a lot of VBX to Visual Basic 4.0. Therefore, the popularity of Visual Basic 4.0 in China is very low.

Visual Basic 4.0

1997-The Harvest Year of Visual Basic

1997, Microsoft introduced Visual Basic 5.0, which is almost as important as 4.0. COM (called ActiveX at this time) is quite mature, and Visual Basic 5.0 certainly provides the strongest support for it. But before China realized the importance of COM, he mainly focused on another highlight of this version: the local code compiler. Visual Basic 5.0 finally adds a local code compiler to the user's voice, which can greatly improve the efficiency of the application. In addition to this well-known improvement, Visual Basic 5.0 has greatly improved and enriched the Visual Basic For Application language:

5、? Events. Visual Basic 5.0 finally allows users to create their own events, and the syntax of this event is quite robust and perfect, which is very rare in a language that does not support function callbacks. Now, VB has a complete package of properties, methods and events.

6、? Interface. This is the basis for VB to realize polymorphism. At the same time, it provides more convenience for writing COM components.

7、? Enumeration. Enumeration appears as a subtype of long integer in Visual Basic 5.0, which can be used to encapsulate constants perfectly.

8、? Improvement of class module. Through the properties of class modules, you can specify that class modules have various specified behaviors, such as private constructors, through which you can create designs that conform to Singleton and Monostate patterns.

9、? Debugging. Assertion. Although this assertion system is a bit lame, it finally brings convenience to debugging.

10 and Visual Basic 5.0 support creating your own collection classes. You can create a collection type for each statement.

1 1, a new data type, Decimal, can accurately handle the calculation of more significant digits.

The IDE of Visual Basic 5.0 supports "intelligent perception", which is a very convenient function for developers. You don't have to remember long member names and keywords, just press "."and everything you want will appear.

Visual Basic 5.0 also supports the development of its own ActiveX controls, in-process COM DLL components, out-of-process COM EXE components and ActiveX documents running in browsers. This greatly enriches the development ability of Visual Basic, and Visual Basic 5.0 can also make achievements in Internet development.

Visual Basic 5.0 Learning Edition-My First Genuine VB

1998-the real source of enterprise efficiency

The release of Visual Basic 6.0, as a member of Visual Studio 6.0, proves that Microsoft is changing the product positioning of Visual Basic, and it wants to make Visual Basic a weapon for enterprise-level rapid development. Visual Basic 6.0 has made great improvement in data access, and the new ADO component makes it possible to access a large amount of data quickly. The data environment and the new report function also give the data development a brand-new experience. Using the powerful function of COM/COM+, Visual Basic can develop distributed applications with N-tier structure. At the same time, Visual Basic can also develop Web applications with superior performance on IIS. Visual Basic 6.0 has not improved much in language and IDE, but many new components have become sharp tools in the hands of Visual Basic developers, such as file system objects. New string functions such as Split and Replace also bring great convenience to Visual Basic programmers.

In a word, Visual Basic 6.0 is a very mature and stable development system, which enables enterprises to quickly establish multi-tier systems and Web applications, and has become the most popular version of Visual Basic on Windows.

Visual Basic 6.0

Today in 2002, the third revolutionary change, to. Net.

Published from 1998 to Visual Basic. In 2002, the appetite of developers was simply satisfied. The brand-new VB7.0, which has been rumored since 2000, has added functions such as inheritance and Try…Catch statements, but it has never appeared. Until 200 1, when the first beta of Visual Studio.NET came out, everyone was shocked-is this Visual Basic? The And statement becomes BitAnd, the array can only start with 0 subscript, even the meaning of the Dim statement has changed, almost all the form controls have changed, Long has become Integer, Integer has become Short, Variant has disappeared, and Static can't be used ... It's simply earth-shaking. People don't have time to pay attention to the improvement of this version, but worry about how I can accept this notebook. Actually, Visual Basic. NET is for the brand-new. NET framework. The designer of Visual Basic. NET didn't grasp the balance between the new platform and the old language at first. In BETA2, many things returned to 6.0, such as BitAnd changed back to And, the definition statement of array changed back to its original meaning, and Static returned to Visual Basic. However, the amazing change of BETA 1 scared all VB developers. They feel that language is riddled with holes, and some people simply turn to the legendary new language C#. However, Visual Basic. NET found the correct positioning after several BETA versions. Visual BASIC。 NET has the perfect support for CLR, while trying to maintain the grammatical style and ease of use of Basic. This version has added countless new functions, the most important of which are:

1、? Inherit. At this point, Visual Basic has completed the transformation to object-oriented.

2、? * * * Enjoy membership.

3、? Try…Catch structured exception handling.

4、? Delegates and interfaces

5、? Namespace.

6、? Support for free threads.

Especially Visual Basic. NET greatly reduces the keywords of Visual Basic language, such as GoSub, PSet and so on. The original Visual Basic had as many as 120 keywords, which brought great inconvenience to programming. Now, after streamlining, Visual Basic has got rid of this heavy burden.

Visual Basic。 NET is now a modern, powerful, object-oriented and simple visual development language. Powerful language features have attracted many developers. History is repeating itself. In the case of Visual Basic. NET is very similar to Visual Basic 4.0, but its popularity has declined due to its poor compatibility. At the same time, due to the right. NET framework, which makes it difficult to release the program. At present, few people use Visual Basic. NET and Visual Basic 6.0. But with the powerful language function of Visual Basic. NET and Microsoft support. NET will shine brilliantly.

2003- a new version of seeking change in stability

Visual Basic。 NET 2003 is a stable version with few changes but many improvements. First of all, the upgrade wizard of Visual Basic 6.0 has been greatly improved, which brings more hope to those who upgrade painfully from the old version. Secondly, in terms of IDE, Visual Basic. NET 2003 corrected many mistakes and restored the development experience of event handling in 6.0. There are only two improvements in language:

1、? Declare loop variables in For and For Each statements.

2、? Added mathematical shift operator & gt.

In this relatively mature and stable new version, many fans of Visual Basic began to re-understand Visual Basic. NET, the community is getting lively. However, some developers who use C# insist on Visual Basic. NET is rubbish, even Visual Basic. NET has more functions and a better IDE than C#. This shows that you don't understand Visual Basic. NET has become the biggest obstacle to its popularization.

2005- Can the perfectionist Visual Basic be brilliant again?

In order to make Visual Basic have the best development experience, the designers of Visual Basic 2005 have racked their brains. This improvement in the optical language of Visual Basic 2005 is enough to make the developers of Visual Basic happy for a while. You can read my post introducing the new features of Visual Basic 2005. Select the important ones and list them below:

1、? Trademark-free consumer goods

2、? Operator overloading

3、? Partial type

4、? The default instance of the form (allows you to use forms with VB6 syntax).

5、? Various improvements in grammar

6、? My key words

Now with Visual Basic 2005, you can read and write the registry, access files, read and write serial ports and obtain application information with only one line of code ... Using Visual Basic 2005 can be called enjoying development. Functions such as generics and operator overloading can give Visual Basic developers a deeper understanding. NET framework and develop the best application.

Visual Basic 2005 indicates the bright future of Visual Basic. All fans and users of Visual Basic are waiting for this new version with me.

C++ programming language history = = = = =

C++ developed from C language, and the history of C language can be traced back to 1969. 1969, ken Thompson of Bell Laboratories designed an operating system software for DEPDP-7 computer, which was the earliest UNIX. Then, according to the BCPL language designed by Martin Richards of Cambridge University, he designed a language for UNIX, named B, which is convenient for writing system software. B language is a typeless language, which directly operates on machine words, which is very different from the later C language. As the first application of system software programming language, Ken Thompson rewrote his interpreter in B language. During the period of 1972- 1973, dennis ritchie, also in Bell Laboratories, reformed the B language, adding the concept of data type, rewriting the original interpreter into a compiler that can directly generate machine code, and then naming it C, 1973, ken Thompson in PDP-1/. At the same time, the compiler of C language has also been transplanted to IBM 360/370, Honeywell 1 1 and other computers, and has quickly become the most widely used system programming language. However, there are some defects in C language, such as relatively weak type checking mechanism and lack of language structure supporting code reuse, which makes it difficult to develop large-scale programs in C language. In order to overcome the shortcomings of C language, Dr. bjarne stroustrup of Bei Le Laboratory and his colleagues began to improve and expand C language, and introduced the concept of "class" into C language, forming the earliest C++ language (1983). Later, Stroustrup and his colleagues introduced operator overloading, reference, virtual function and many other features to C++, and made it more perfect. 1989, at & amp; Tc++version 2.0. Subsequently, ANSI (American National Standards Institute) and ISO (International Standards Organization) jointly carried out standardization work, and in 1998, ISO/IEC:98- 14882, the international standard of C++ language, was officially released. C++ compilers from different software vendors all support this standard and have different program extensions. C++ supports object-oriented programming method, which is especially suitable for large and medium-sized software development projects. C++ has great advantages in development time and cost, software reusability, expansibility, maintainability and reliability. At the same time, C++ is a superset of C language, which makes many C codes compiled by C++ need not be modified.

History of JAVA programming language = = = = = =

Java is an object-oriented programming language, which can be used to write cross-platform application software. It was developed by james gosling of Sun Company in the early 1968+0990' s. It was originally named Oak as a programming language for small household appliances to solve the control and communication problems of TV, telephone, alarm clock, toaster and other household appliances. Sun gave up the plan because the market demand for these smart home appliances was not as high as expected. Just when Oak almost died, with the development of the Internet, Sun saw the broad application prospect of Oak in computer networks, so he reformed Oak and officially released it under the name of "Java" in May 1995. With the rapid development of Internet, Java has gradually become an important Internet programming language.

The style of Java programming language is very close to that of C++. Java inherits the core of object-oriented technology in C++ language, abandons elements such as pointer (replaced by reference), operator overload and multiple inheritance (replaced by interface) in C++ language, and adds automatic garbage collection function to recover the memory space occupied by objects that are no longer referenced. In J2SE 1.5 version, Java introduced some language features, such as generic programming, type-safe enumeration, variable-length parameters and automatic unpacking.

Java is different from the general compilation and execution computer language, and it is also different from the interpretation and execution computer language. It first compiles the source code into bytecode, and then relies on virtual machines on different platforms to interpret and execute bytecode, thus realizing the cross-platform characteristics of "compile once and execute everywhere". But it also reduces the running efficiency of Java programs to some extent.

Sun's explanation of Java programming language is that Java programming language is a simple, object-oriented, distributed, explanatory, robust, secure, system-independent, portable, high-performance, multi-threaded and dynamic language.

Java platform is a platform based on Java language. Such a platform is very popular at present, so Microsoft has launched a competitive one. NET platform and a C# language imitating Java.

Currently, Java provides the following three versions:

J2ME (Java 2 platform, mini version): the mini version of Java platform.

J2SE (Java 2 Platform, Standard Edition): The standard version of the Java platform.

J2EE (Java 2 platform, enterprise edition): Java platform for enterprise edition.

History of Java:

1On May 23rd, 995, the Java language was born.

1996 1 month, the first JDK-JDK 1.0 was born.

1in April, 1996, 10 major operating system vendors announced that they would embed JAVA technology in their products.

1September 1996, about 83,000 web pages were made with JAVA technology.

1997 February 18, JDK 1. 1 released.

1April 2, 997, JavaOne conference was held, and the number of participants exceeded 10000, setting a record for the scale of similar conferences in the world at that time.

1September, 1997, the members of the JavaDeveloperConnection community have exceeded100000.

1February, 1998, JDK 1. 1 was downloaded more than 2 million times.

199865438+February 8th, released by J2EE, the JAVA2 enterprise platform.

1June 1999, SUN Company released three versions of Java: standard version, enterprise version and mini version (J2SE, J2EE, J2ME).

On may 8, 2000, JDK 1.3 was released.

On May 29th, 2000, JDK 1.4 was released.

On June 5th, 2000 1, Nokia announced that it would sell1100 million mobile phones supporting Java by 2003.

Published on September 24th, 2006, 5438+0, J2EE 1.3.

On February 26th, 2002, J2SE 1.4 was released. Since then, the computing power of Java has been greatly improved.

The release of 18:00PM and J2SE 1.5 on September 30th, 2004 is another milestone in the development history of Java language. In order to show the importance of this version, J2SE 1.5 was renamed J2SE5.0.