C language, programming tools worthy of life (1)

zhaozj2021-02-16  72

Doing a professional programmer 10 years, the sour and bitterness is really only to come over. In the era of high-speed development of computer technology, it does feel tired, especially when selecting programming tools, there are too many new languages. If Zhi Zhi is a programmer who is a profession and is willing to study in depth, I recommend choosing a C language.

I remember that when I started computer popularization in high school, I learned some simple BASIC, and two words were painted on the apple of the green screen. University, the first door computer language is Fortran, and later learned C, Tan Haoqiang's C language is the most robbing book, it can't be borrowed, and I can't buy it. Graduation design uses TC2.0 to make a finite element analysis on a 286 machine, there is a certain C basis. After graduating, began to start from FoxPro and do VB. By 96 years ago, C and Java began to rise, considering the thirteen, invested C arms. Reason: 1. Java as an explanation of the language, running efficiency is really darent, and the problem facing it is mainly due to the processing of big data, and must not choose. 2. A lot of books and articles at that time are all refuted the weakness of C, the structure is poor, and the maintenanceability is poor, not strict, not suitable for large projects. 3. All C books say that C is a super-color, not only all of C, not only the shortcomings of C. Among them, object-oriented mechanisms can solve problems facing software projects, which is ideal for big projects.

After investing in C , you will start to put it full, C 's related books have bought a lot, encapsulated a lot of gadgets, linked lists, document access, etc., the brain is class, package, inheritance, polymorphism, template, etc. . There are not many compilers at that time, there are not many VC and BC. At that time, there was a very classic book "Think In C )" (unfortunately, this book could not be called "thinking", only called "C grammar".), Also started with C Do some big projects.

With the in-depth of C learning and application, the problem is coming, C syntax is too much, really need such a complex syntax? There have been a system that needs to be transplanted from VC to Solaris, which does not involve the call of special APIs of each platform. Compiled very well under VC, completely compliant with C grammar to Solaris, whether it is compiled under Solaris. The same thing in Solaris can pass on the VC. Later, I found that the compiler was very different due to C , and various compilers were very different, and there were several problems that the compiler did not resolve. The syntax of C is relatively simple, relatively easy, and has changed many years, it is also very stable. It turned out that I only care about the language itself, and I ignored that in the actual language could not exist alone, it must work on compile, connection, libraries, and corresponding platforms.

During this period, the open source system such as Linux is gradually promoted in China. I have found that many important development source systems (including large systems) are all written in C language, such as Linux kernel, Apache, MySQL, GCC, etc. And many operating systems, databases, middleware, even important application systems (banks, telecommunications, etc.) are written based on C language. This makes me doubts about the conclusion of C language is not suitable for processing large systems. C language hidden some secrets I don't know?

转载请注明原文地址:https://www.9cbs.com/read-17649.html

New Post(0)