Chapter 14 Yin-Yang Arithmetic Competition
14.
The development of computer languages on Earth has gone through many stages.
The earliest was machine language, that is, binary language.
Later, everyone thought that machine language was too difficult to write, so assembly language was born.
Assembly language, also known as symbolic language, due to the integration of a large number of instruction sets, can be used to replace the operation code of machine instructions with mnemonics, so that the programming process is greatly accelerated, but programming with assembly language is still very complicated, so people later developed a high-level computer language.
High-level languages are the well-known C language, C++, Java, etc.
On the modern earth, all the software on the computer, all the software on the mobile phone, is programmed in high-level language.
The development of computer languages is characterized by the fact that the more advanced the language, the easier it is to learn and use, and the more convenient it is for people to program.
So in modern times, almost no one can program in assembly language, let alone machine language.
And the people of this cultivation world actually use machine language to drive the spirit armor, which is simply fantastic in Cheng Li's opinion.
It's like playing a mecha game, where people press the forward button directly with their controllers, and the mecha can move forward.
In this process, after pressing the forward button, the computer will convert the forward button into many machine instructions according to the programmed program, and finally realize the effect of the mecha advancing on the screen.
And if we want to achieve this effect in machine language, then we may need to input a string of 0s and 1s with hundreds or even thousands of digits in order for the mech to move forward.
And the cultivators of this world are doing exactly this kind of thing.
Cheng Li had already imagined the picture of a cultivator sitting in the cockpit of the spirit armor, and then in order to let the mecha take a step forward, this cultivator was on the yin and yang stone, with a phantom hand speed, quickly pressed hundreds of times, and had to arrange them in a specific order to press these hundreds of times in order to make the spirit armor take a step forward.
The difficulty of such an operation is simply outrageous. If it weren't for the fact that the cultivator's divine sense was strong, and his memory and reaction speed were far comparable to that of ordinary people, then it would be absolutely impossible to control the spirit armor in this way.
But even with the strength of a cultivator, it was difficult to manipulate the spirit armor like this.
According to the data I heard in Cheng Li's class, on Qingling Island, only one percent of cultivators can initially learn yin-yang arithmetic and use it to control the spirit armor.
But this has surprised Cheng Li, knowing that 1 in 1 million people on the planet can binary programming is very good.
It just so happens that Cheng Li is also the one who can program binary in one million.
Because of his love for programming, Cheng Li took the relevant knowledge of machine language and assembly language when he was in college, and after he came out to work, he was proficient in several high-level languages. Therefore, Cheng Li became the company's technical director at the age of only 25.
"However, the cultivators on this island, although they use their memory and reflexes far beyond mortals, will use binary language to input instructions. But in terms of the development of computer language, it is too backward.
"But this can't be blamed on them, after all, they are cultivators, they are practicing metaphysics, and they don't pay attention to mathematics at all. ”
The development of modern computers is inseparable from mathematics. Early computer scientists, like Turing and von Neumann, were super-notrate mathematicians.
It was precisely because of the high development of mathematics that the birth of the computer was finally born.
There is no logic, set theory, functions, number theory, algorithm design, discrete probability, Boolean algebra...... With the development of a large number of branches of mathematics, it is impossible to make great progress in computer languages.
Therefore, although Qingling Island has developed binary languages such as yin-yang arithmetic, it has been stuck at this level, and it has not been able to break through for development for a long time, the reason is very simple, that is, mathematics is too backward.
"All in all, it's a place where the hardware is highly developed, but the software is extremely backward...... Coincidentally, my best skills are software and mathematics, which are also my main areas of study in college...... Originally, in addition to becoming a programmer after graduation, I also thought about becoming a mathematician...... It was only later that I felt that programming was more interesting, so I ended up in this industry. ”
Cheng Li said with some emotion.
Qingling Island, a place with highly developed hardware and extremely backward software, makes Cheng Li feel like a hero is useful.
"I see, no wonder Qingling Island is going to hold a yin-yang arithmetic competition tomorrow. I am afraid that it is to select geniuses who are proficient in yin-yang arithmetic through the yin-yang arithmetic competition, and try to improve the driving system of the spirit armor in just ten days......
"The Spirit Armor gives the cultivators the strength to challenge beyond the ranks, if Qingling Island can increase the proportion of cultivators driving the Spirit Armor from one percent to three percent, then this war will undoubtedly be won......
Cheng Li, who is very smart, through the various signs he has seen in the past few days, and after analyzing the cocoon, he suddenly guessed the intentions of the high-level leaders of Qingling Island.
"I don't know who is so bold and doesn't ...... Even a little arrogant, this is simply the craziest gambler......
"Qingling Island has no mathematical foundation, and under normal circumstances, it is impossible to improve the deep-rooted yin-yang arithmetic in ten days. ”
"But...... They were lucky enough to meet me. If I can understand the underlying code structure of their spirit armor's drive system as soon as possible, and use my knowledge of machine language to design a set of instructions for them within ten days, it is indeed possible to greatly simplify the operation process of the spirit armor. ”
It is undoubtedly impossible to design a new language from scratch. That's something that takes a computer scientist a long time to do.
But Cheng Li is in the modern era, standing on the shoulders of countless scientist giants, and he already has a lot of knowledge about this in his head, and has a ready-made framework and foundation. And thanks to Cheng Li's wide range of hobbies and love to study, he has a great understanding of modern computer systems and R&D history, and has a wide range of knowledge.
Moreover, through yesterday's cultivation, Cheng Li has been convinced that the so-called yin-yang arithmetic is indeed a binary language.
It is based on these that Cheng Li has the confidence to help Qingling Island improve the operating system of the Spirit Armor within ten days.
Thinking of this, Cheng Li couldn't help but feel a little surging in the mood, which made him can't help but whisper when he finished class in the afternoon and walked out of the school.
"Tomorrow's yin-yang arithmetic competition, I must win!"
And at this moment, a very contemptuous voice came from behind Cheng Li.
"Hmph, a barbarian man dares to speak generously. The study of yin-yang arithmetic is broad and profound, how can a barbarian like you set foot in it. ”
Wang Tianyu walked out of the school with a disdainful expression.