A baker's dozen
Wang Suo's eyes were vicious, and he saw the key at a glance. In fact, Cao Changjiu started to work on the restoration of the C language as early as a year ago, but it was just on paper.
As Cao Changmeng knows, it is difficult to have a more powerful and universal high-level language than C, so he made C language his main direction from the beginning.
Fortunately, I have been doing compiler research in my dream for a long time, otherwise it would be useless to know the syntax rules of the C language, and it would still be empty without a compiler. Although it was a paper assignment, he successfully copied the entire language framework and improved its shortcomings.
During this time at the Computing Institute, Chang Chang rewrote the C compiler according to the hardware characteristics and instruction system of this machine, and finally completed it.
With the C language in hand, Cao Changjiu is like a tiger with wings, and the writing system is a matter of course. Although Cao Changjiu had to compress the code and reduce the functions due to hardware limitations, he still succeeded in making this operating system run, which has to be said to be a big deal.
Although he was not very satisfied, it was already the limit for this machine, and Cao Changjiu had to make up for it. In the process of writing, I also have a little bit of my own feelings.
In my dreams, I felt that writing a program was completely different from what it is now, not because of the language, but about the whole idea of programming. The limitations of hardware conditions and the lack of research on compiler programs force people to adapt to the machine, and each step of the program must consider how to maximize efficiency.
However, the situation in the long-term dream is completely opposite, abundant source code resources, breakthrough compiler research, and hardware resources that are almost unlimited compared to the current situation have already shifted the main direction of people's programming to functional completeness and compatibility, and the efficiency problem is completely handed over to the hardware.
Therefore, for a long time, I looked down on most modern programmers, because with these commercial programming tools, writing software has become a building block, which does not reflect the word efficiency at all, and even has no creativity, and all programs are the same.
So I'd rather do embedded programming than use the so-called JAVA, to paraphrase a definition of the game industry, probably belong to that small group of "heavy players" for a long time, pursue the limit, challenge the function, efficiency is the first, and hate the bells and whistles of the interface and messy functions. They see the generation of an effective program as a complex and creative artistic activity. They were mainly focused on overcoming the obstacles caused by the lack of computer performance at the time, so they knew everything about hardware and were a group of artists.
But the world is still "casual players" accounted for the vast majority, they are the main body of consumption, they like the beautiful window can be fooled operation, a mouse walks the world, even ctrl-c, ctrl-v can not be used, the software is not fast to upgrade the machine, but do not know that the man who operated the computer back then wrote his own hardware drivers.
Cao Changchang also thought about his own situation when he had time, and reluctantly found a word to describe his current situation - crossing, but it seemed that he had no clear memory, and he was not a person at all.
But for a long time, he didn't take this to heart, it's one thing to have these experiences, but what kind of life to live is his own business, and there is no reason to take this as a burden.
Looking back at the ups and downs of the previous body, today I know that I am me.
So Cao Changchang wanted to follow his own path.
What's even more rare is that in this day and age, there is a blank sheet of paper where you can scribble, isn't it interesting?
ββββββββββββββββ
Wang Suo didn't go back to the office in the afternoon, and he and Lu Ping studied the code together in the warehouse, and they were amazed. The more he looked at it, the clearer it became, and the more confused he became, the system was obviously divided into layers, including the core layer, the application layer, and so on, and the rough annotations also showed this structure. The core layer is hardware-dependent, has a small amount of code, and contains all the most basic operations.
Wang tested it, it was very efficient, and it was typically written by hand in a compilation, so there was no doubt about this. The rest of the code is much worse, and in the eyes of Wang's old compiler programmer, it is written in high-level language and then assembled.
The question is what is this high-level language and where is it? Wang himself has presided over the development of large-scale compilation systems for various types of computers in China, and is well aware of the pros and cons.
At that time, the trend of computer systems was that hardware was getting cheaper and cheaper, and the cost and time spent on writing software and program troubleshooting were getting higher and higher, and each new machine had to write corresponding software, and software development costs accounted for almost three-quarters of the entire system, and finally the software crisis broke out. The computer development of the former Soviet Union is an example, Lao Maozi only had a dozen or twenty people in computer development hardware, but he mobilized tens of thousands of people to write software at the same time, which brought disaster to the country and the people, just like the competition between a combine harvester and a sickle.
If the high-level language is the combine, then the assembly and machine code can only be the sickle, so the "automatic programming system" came into being. This is actually a kind of "artificial computer" with a different opcode from the actual machine, which is easier to program than the actual machine, but all these early "automatic programming" systems are too expensive to use, and usually they will reduce the speed of the machine by 5~10 times.
In the early days, computers were used to do scientific computing, so IBM invented Fortran, which means translation of formulas in English, and has unparalleled optimization of scientific computing.
However, Fortran also has a weakness, that is, it also has the characteristics of machines, that is, each computer has its own Fortran compilation system, which is optimized for its own hardware, so it is not compatible with each other.
Cao Changjiu's C language is different, he knows that the future development direction of computer systems is not only scientific computing, but also a larger system software market. This is also the reason why the C language has been carried forward in the future.
The C language has no other advantage, that is, it can control the hardware, and there is no other in the world in this regard. Therefore, C language can be said to be a system programming language, and it does the work of a jack-of-all.
Wang just didn't understand this, after all, at this time, the C language and Unix were still circulating in university laboratories in the United States, and they had not yet reached the point of being widely known, so the two of them figured out every afternoon.
In the evening, when the king returned home, he called out twice, "Long, long!" twice, but no one answered. So the king went out again for a long time, and who knew that when he went to the room, he saw that this kid was still sleeping.
It seems that he is really tired, Wang thought to himself, and gently tucked the quilt for a long time.
Unexpectedly, he opened his eyes for a long time, and asked in a daze: "Uncle Wang, are you back, what time is it?" I seem to have overslept. β
ββββββ shy dividing lineββββββ
Dream of nothing, and then dig a new pit. A few times I want to enter the palace, but I have no choice but to urge them to change the book reviews almost every day, and the more I feel that my laziness is very shameful. Although I comfort myself with my busy work, in fact, not being able to write is the key. Finally silent for a few months, it can be seen that the perfunctory attitude is unacceptable.
The memorial is newly opened, the outline has been written, and now it is digging down, and I dare not guarantee anything because of work, so everyone will just take a brick and smash it, and if you find a hard injury, you will smash it.
I was very touched by everyone's support, and I actually followed along. Be cheeky and ask everyone to collect more, it's best to publicize it, Xiaoyu himself has no face, hehe.
It seems that it takes 50,000 words to be on the new book list, I will speed it up, and the manuscript will not be saved, just go on!