Various language Technologies

Source: Internet
Author: User

1. C and C ++
Both C and C ++ are powerful and efficient compiling functions.ProgramExcellent tools.
C and C ++ can directly allocate memory, so it is easy to have memory omissions.
C and C ++ are the best development languages for highly efficient platforms (such as telephone exchange networks and Palm OS.

2. C and C ++ Windows Programming
Windows is an event-driven operating system that frequently gets interrupted information on the graphic Street: mouse clicks, mouse moves, and buttons on the keyboard. After receiving user information in the window, the Windows operating system sends the message to the window through an information pump. Windows are hierarchical in nature. A typical Windows application can contain a main window, which contains several document windows. Each document window contains several buttons, and each button is also a window. C To write such a program, you need to nest several functions and transfer the information from the bottom-Layer window to the upper-level window. Such C is very messy and error-prone; c ++ is designed to make windows programming easier. C ++ packs functions into classes to organize APIs. This API has thousands of calls. However, C ++ is not widely recognized, and Microsoft Foundation Classes (MFC, Microsoft basic class) are not as popular as expected.

3. VB
There are two reasons why VB is popular: the language is quite simple and the production efficiency is very high. Vbprograms do not run as fast as C/C ++ programs, but for business scenarios, they run fast enough and have less development time. The form is a way that VB provides to Windows programmers to save labor. VB ide drag and drop controls from the toolbox to the form to design the window graphically. User-friendly and easy to develop. And most importantly, it has no pointer to avoid errors. Its disadvantage is that it cannot complete multi-threaded work and relies on DLL during runtime.

4. Java
The most prominent feature of Java is the independence of the platform. Unlike C, C ++, and Visual Basic, JavaSource codeNot compiled into a machineCode(0 and 1), and compiled into Java bytecode. Because there is an abstraction layer between bytecode commands and machine code, the same bytecode program can be transmitted to different types of computers over the Internet for running. The computer that receives the byte code program must install a runtime program and convert the byte code into machine code commands before it can run. Because the ing between byte code commands and machine code commands is roughly one-to-one, the conversion process is very fast and the byte code program is still executed very quickly.
A. Cross-platform is easy to use. "writing once can run anywhere" is a tempting place for Java.
B. objects are always handled by reference without using pointers
C. Operator Overloading is not supported.
D. completely object-oriented.
E. There is a hierarchical structure that can be expanded to handle windows, networks, and other problem domains.
F. Place the class declaration and execution in the same file.
G. The runtime provides a useless storage unit collection mechanism to prevent memory omissions

5. j ++
Microsoft includes J ++ in its Visual Studio development program set. j ++ extends some new features to Java. For example, when compiling a Java class, it automatically generates a COM interface for it, these features are only applicable to Windows platforms.

6. C #
C # combines the advantages of various languages. C # Is as concise and powerful as C. It Is Object-Oriented like C ++. Similar to VB, it adopts a graphical design method, making it easier to create a user interface, compilation depends on the Internal Service byte code during runtime, Just Like java. It has a greater advantage.

<C # advanced programming> Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.