The colon and his students (serial 3)--language selection

Source: Internet
Author: User

Language selection

The ruler has short, inch--"The Chu Ci"

The question mark feels that his problem has not been solved, asking: "In so many languages, only by popularity can you prioritize?" ”

"Popularity is certainly not the only indicator. The colon answers, "the language's primary and secondary strengths and weaknesses vary from person to person, and the answer is yours." Or just that sentence, the only teacher is yourself. ”

Look forward to the eyes like candle began to dim.

The colon goes on to say: "Storytelling teacher Shouyi, often want to apprentice himself to pick the weapon of the hand." Mighty knife, flexible gun, elegant sword, vigorous stick, rough axe, overbearing hammer, strange whip, all familiar with the personality of the Martial. Judging the merits and demerits of the language is like arguing about weapons, and if you put aside the subject and object of use, all of them are vague. ”

The period is enlightened: "So good language is the language that suits the programmer and solves the object." ”

"Very right! The colon approves: "This is the question mark classmate wants the answer." ”

Quotation marks are not satisfied: "But I remember storytelling often described the words of the master----18 weapons master everything." ”

Colon a smile: "Although many weapons, its rationale is interlinked, master proficient in a variety of weapons Ho Weich?" But if let Zhao make hammer, zu bully make gun, the force I am afraid still want to give a big discount? ”

The comma still puzzles: "How do we judge whether a language is right for us or not?" ”

The colon see everyone common doubt, leisurely said: "To choose from, naturally first have to understand, otherwise how do you know the weapon is not called hand, not use?" Now to get to the point, let's start with a brief review of computer language. ”

Everybody thought, finally to scratch the itch.

"Computer language is the language that people use to command computers, which is usually divided into five dynasties according to their development process." "The colon says," write it down on the blackboard--

First generation language (1GL): Machine language

Second generation language (2GL): assembly language--ia-32 Assembly,sparc Assembly, etc.

Third-generation language (3GL): Advanced language--FORTRAN,PASCAL,C,JAVA,VB, etc.

Fourth generation language (4GL): problem-oriented language-—— SQL,SAS,SPSS, etc.

Fifth generation language (5GL): Artificial Intelligence language--PROLOG,MERCURY,OPS5 etc.

The colon adds: "The first two generations can also be simply referred to as low-level languages, and others are collectively called high-level languages." Language from low-level to advanced, from the machine language further away from the human language, so more easily read and write, debugging and maintenance, security, versatility and portability, more efficient, more abstract and macro, but at the same time running speed and efficiency of the decline, usage and functional limitations. If you take a weapon for comparison, advanced language is like long weapons, powerful but inevitable stagnation, longer than large applications, can be described as ' one inch long, one inch strong '; Low-level language is like short weapons, lightweight and flexible but unavoidable risk, longer than the bottom of the application, can be described as ' one inch short, one inch risk '. ”

Everybody's mind, is not here to learn programming, is to learn martial Arts.

The exclamation mark said: "I think the high-level language is good, now who still learn low-level language ah?" ”

Colon correction: "Low-level language is not low-level, but with the advent of high-level language, computer hardware performance improvement, gradually some marginalization." Although almost no one has programmed in machine language, assembly language still has its use. Common to have: including embedded systems such as system development, such as operating system, compilers, drivers, wireless communications, DSP, PDA, GPS, and other resources, performance, speed and efficiency of highly sensitive software development, information security, software maintenance and cracking for the purpose of reverse engineering and so on. Even if you do not intend to engage in system development and do not want to be a red guest, hacker or hacker, mastering assembly language is also helpful for you to have an in-depth understanding of the internal operating mechanism of the computer, debugging software, and improving some key code in the program. ”

Quote: "It seems that some books refer to the C language as intermediate language." ”

The colon replies: "This is because C is characterized by both high and low level languages." On the one hand it provides high-level abstraction and portability, allowing programmers to focus more on problem logic than machine logic, and on the other hand, it also provides tools such as pointers, bit fields (bitfield) to perform low-level operations, and even directly inline assembly code. C language is concise, flexible and powerful, and is by far the most influential language. Almost all operating systems and most advanced languages use it to achieve, C family language C, C + +, Java, C #, D, objective C, etc. occupy the mainstream language of half. If you take more weapons than, C language is a sword, brisk elegant, sharp and quick. A soldier, no matter what weapon he uses, often hangs his sword in his waist. No, C's programmers are just as unlikely to make swords as generals, but they are a drawback anyway. In contrast, assembly language is like a knife dagger, while machine language is almost unarmed. ”

The end of a flash: I understand-Simon blowing snow of the west to a sword, that is the C language, Li Huan's small plum knife, that is assembly language, Lu Xiaofeng, that is the machine language. ”

Everyone will laugh.

Quote Out of nowhere: "I will taekwondo Oh!" ”

Full stop a happy: haha, and so you win the Lu Xiaofeng, on the seal you for machine language. ”

The colon also smiled: "Is this a fan of cologne?" Martial arts novels in the knight many Qinggong high and happy singles alone, so the use of light, short weapons mostly, and historical novels in the war more riding for large-scale combat, so in addition to the sword, the use of heavy, long weapons in the majority. This is mentioned earlier, the middle and lower level language is more suitable for the small or the low-level application, the high-level language is more suitable for the large-scale application. ”

The crowd became active and began to talk. The colon to listen to the ears, net of some of Jin Yong, the Three Kingdoms of the People, thought: Popular novels in the end than programming attractive AH.

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.