Bald reason Java horses line C programmers the world of the country

 

The rise of Java Empire

Preface:

Before sharing technology to allow me to share with you the words of Huang Yongyu old man said: "clearly love, disgust direct, forthright and sincere like standing under the sun, loud deserved praise ourselves.."

" Programming Works for "

" Into Programming hall "

" High-level language cauldron braise "

Written in front of three blog if you have friends carefully watched, and now programming language programming should have some understanding, "the rise of Java Empire" Below me a story for the programming language introduced before speaking

C language

Ruled country C

Long ago Member Long (1972), in the ancient oriental country called a country C (C language), this country is very powerful king in this country C has ruled for a long time. In many C programmers country life, these programmers are the king personally selected, and their task is to communicate with the computer every day to protect the country C network security. To become a C programmer country demanding, you must use C language to communicate with the computer, and must unconditionally obey. Speaking of country C C language, have to admit, is indeed very powerful, with the birth and the advent of the UNIX C language, many programmers are crazy pursuit of them, just like the C language novels sunflower in Mr. Jin Yonglao Collection and human resource configurations, as worthy of the world's programmers crazy. But this is not what people can Cheats practice, only the king personally selected country C programmers to practice complete C language, fortunately many C country's population, who is also a lot to learn.

The power of language is C: close to the hardware, run very fast, very efficient. So C State aid C language programmers developed a number of powerful software, such as operating systems, compilers, databases, networks and so on it. Extremes meet, everything good foundation to learn C language programmers very hard to learn C language programmers are fitted with a heavy yoke the two: pointers and memory management. Although extremely powerful pointer, can directly manipulate memory, but the C language does not provide a tool to do bounds checking, resulting in a lot of novice programmers to easily make mistakes. As for memory management, C language is more laissez-faire: their own space allocated themselves to release! Even worse, these problems can not be found at compile time, runtime will suddenly exposed, often let programmers rush, in pitch darkness to go debugging. C programmers can say that the country's precious time and energy is wasted on careful handling pointers and memory allocation. Every programmer is struggling with these two things!

So how well the years, but you did not see the C programmer country before loading the line. State C programmers pointers and memory management in addition to two shackles, there is little so that they are struggling, too, the king declared that country C C language has portability, a program written in a machine, as long as the other compile a machine on it. But the fact it really is so, No ! King C State requires programmers to use C language in time to use the standard C library, if you encounter some calls for a specific platform, you need to write one for each platform! As long as there is a little bit of small errors will result in compilation failures.

Speaking of which, you may also portability of C language understanding is not deep, I come to explain:

Let me talk about source code, source code, also known as source code, compiled refers not written in a certain programming language specification text file, is a series of human-readable computer language instructions, in modern programming languages, source code but to in the form of books or tapes, but the most common format is a text file, a typical format for this purpose it is to compile a computer program. The ultimate goal of computer source code is to translate human-readable text can be performed by binary instructions of a computer, this process is called compilation. Completed by a compiler, according to the software source code to distinguish the type generally divided into two categories, free and non-free software.

Free software generally can not only get a free and open source.

Non-free software is not open source.

 

Understand these described above, I repeat the process of compiling the C language, if at this time you just finished writing some code HelloWorld output, in fact, the code you write is the source, the source code that only you know now, but the computer do not know, to get computer knowledge, we must take you to write the source code through the compiler into a computer can recognize a binary file. If your source is now called Hello.c, if you compile using a Windows system, the compiler can compile an executable file that will run under Windows Hello.exe system. Why do I want to emphasize is to be executed in the Windows system, which is the country's portability allows C programmers headaches of C language I mentioned above, the general high-level language if you want to run on different platforms, at least needs to be compiled into a different object code. C language is also true, in the Windows system compiled C language program, the Linux system is not running, of course, compile under Linux System C language programming under Windows is not running. So try to understand country C programmers it, baldness is also a reason.

 

 

Appear in C ++

By 1982, the country has launched a C a new language C ++, adds object-oriented features, compatible with the C language, static type checking, performance is also very good. The more powerful, more complex content. As the name suggests, C ++, is based on the C language adds a few features, the C language itself let the country C programmers miserable, add some complexity. emmmmmmm, expressed sympathy. Do not underestimate the complexity of C ++, C ++, although made in the graphics field and the game was a great success, but many C programmers will not learn its country, its many features really make C programmers can not control the country, C programmers throughout the country suffer a great deal, cynicism, on the day deep sigh, saying: either a C, what a C ++, then Jianguang flash, shaved his head against the express, which is one reason why many state-owned C bald.

 

Cipian End

It's been written a thousand words, something more to say, taking into account so that readers alleviate eye fatigue, I decided to paving the way for the real hero JAVA left behind.

Information on how funeral, see if next time to explain.

 

                                    

 

                                 

The more sharing, the greater your value-added support me let more people concerned about me

*****************************************************************************************************

我的博客园地址:https://www.cnblogs.com/zyx110/

【原创声明】此篇为作者原创,未经本人同意不得转载,经本人同意转载请说明出处。

我不能保证我所说的都是对的,但我能保证每一篇都是用心去写的,我始终认同“分享的越多,你的价值增值越大”,欢迎大家关注我的技术分享“Java匹马行天下”和学习心得分享“匹马行天下”,在分享中进步,越努力越幸运,人生赢在转折处,改变从现在开始!

支持我的朋友们记得点波推荐哦,您的肯定就是我前进的动力。

 

Guess you like

Origin www.cnblogs.com/zyx110/p/11586300.html