Hand rubbing nuclear fusion live in the wilderness

Chapter 320 Changes in the Base System

Chapter 320 Changes in the Base System

Looking at the barrage that filled the screen, Han Yuan smiled and didn't care too much.

No one knows better than him what the audience said.

Chinese programming is not unavailable in the current human society. If you want to do it, you can actually do it.

Because whether it is Chinese programming or English, in fact, the keywords and the number of keywords that become language definitions are not many.

Just like if, else, and other keywords in English programming, can Chinese be defined?

It's totally possible, it's just that it can't be done to the point in his mind.

When he first obtained the Chinese intelligent programming language, he arranged for the 'Yuanchu' laboratory to collect information related to Chinese programming.

In fact, a programming language is a set of symbolic systems. There is no English programming, and there is no so-called Chinese programming.

Because no matter whether you write code in Chinese or English, in the current human society, the complexity of algorithms and logic will not be reduced.

Most people think that programming will look like this:

"Help me go to the watermelon stand and buy a watermelon. If you pass by the canteen, buy another bottle of Haitian soy sauce."

But the actual programming:

【Define watermelon】

【Definition of watermelon stand】

【Define Haitian Soy Sauce】

【Definition of commissary】

[Function to buy something (call something, location)]

[return to [status, via]

【Function operation (logic structure)】

[Buying melons = shopping (watermelon, watermelon stand)]

[Buying Haitian Soy Sauce = "Failure"]

[If you buy watermelon [[-]] including the commissary]

[Buying Haitian soy sauce = shopping (return Haitian soy sauce, canteen)]

【Back【Buy Watermelon【Zero】,Buy Haitian Soy Sauce【Zero】】

[run (definition)]

That's right, the above-mentioned things are the whole process of buying watermelon and Haitian soy sauce.

And this is extremely simplified. The actual programming is actually more complicated than this.

Because regardless of Chinese programming or English programming, in the final analysis, the computer can only recognize the binary consisting of on and off.

The grammar and language that comes with a human high-level language is completely incomprehensible if it is not written clearly in the program.

It's like buying a watermelon.

When a programmer writes this kind of code, he even needs to write in whether the robot lifts the left foot first or the right foot first.

Otherwise the robot wouldn't go out at all.

This is also a shortcoming of all high-level programming languages ​​today. The size of the code, when reproducing the work, the greater the workload of reproducing, the greater the amount of code required.

Take the Windows desktop system, which is currently the most used in human society.

Windows 7, for example, has approximately over 50 (000 million) lines of code.

If supporting software is added, the total number of lines of code will exceed 100 (one hundred million) lines.

If you add a complete software ecosystem, the total size will not be lower than 1 (billion) rows.

Many people think and feel that Chinese programming simply uses Chinese characters instead of English, but still follows the mechanical grammatical structure, curly braces, indentation and other grammar or formats.

So this is actually not necessary at all.

But if Chinese programming can make the program a lightweight language like Chinese itself, instead of rigid format changes, like using a native language, that would be awesome.

It's a pity that the Chinese programming currently being studied can't do this at all. In addition, English programming occupies all the markets, so naturally no one researches and promotes it.

In Won's mind, the Chinese intelligent programming language provided by the system can eventually be a lightweight programming language.

Of course, this is also done in batches.

When the Chinese intelligent programming language was developed, it was actually an extremely cumbersome language.

It was later, after a little bit of optimization and improvement, it became the Chinese intelligent programming delivered by the system.

Nor is the won ready to throw it all at once.

Because the ultimate Chinese intelligent programming language has made too many changes.

For example, the basic language of the computer is binary, and the so-called 0 and 1 are used to express, which is the control of the logic level, that is, low level and high level.

In fact, the high/low level is just an intensity of the logic level, and it does not have to be expressed by 0 and 1.

It is also possible to use other symbols for representation.

For example, in many chips, the strength of its high level is actually 3.3V, and the low level is 0V, or in other words, the high level is 4.5V, and the low level is 0.25V or 0V.

It's just that people still call them 1s and 0s.

The reason why it is said that the Chinese intelligent programming language passed by the system has greatly changed the basic binary language.

It is because it no longer uses Arabic numerals such as 0, 1, -1, and 2 to represent, but uses characters in Chinese.

After all, whether it is Arabic numerals or Chinese characters, it is actually a control switch for the machine. You can change it to whatever you want, and it can be recognized.

It just needs to redesign and write the supporting binary code and chip circuit.

In addition, the Chinese intelligent programming language passed by the system also needs unique assemblers, compilers, unique computer hardware, chips and other things to cooperate.

And these things, the current Korean won is not.

Especially for the newly added grammar library and definition library for the Chinese intelligent programming language, these two things are the key.

Only with these two libraries can a lightweight language programming method be finally realized.

So this time, Han Yuan is not prepared to directly throw out the Chinese intelligent programming language passed to him by the system.

This time, the underlying basic base code he used is still Arabic numerals.

Came back to his senses, coughed and cleared his throat, Han Yuan then added: "The 'Chinese intelligent programming language' used this time is developed and designed on the basis of Chinese."

"From the underlying binary code, to assembly language to high-level programming language, it has formed a complete system of its own."

"Compared to the English programming used in the early days, the Chinese intelligent programming language can greatly simplify the program when it develops to a certain extent."

"But that's also relative."

"Starting today, I will sit here for at least two to three months to write the control programs of the central computer and numerical control equipment bit by bit from the underlying binary code."

"After completing the control program design of the central computer and numerical control equipment, I will start to upgrade the industrial equipment."

"This is a very boring process, which requires me to raise my mental strength."

After finishing speaking, Han Yuan glanced at the virtual screen and shooting ball floating in front of his eyes, ignored the audience in the live broadcast room, and turned on the integrated chip computer.

The power is flowing, the gray screen is shining, and there is nothing on it, just like a Linux system with only a white screen after it is turned on.

The computer turned on, and Won didn't waste any time. Familiar with playing games as usual, he snapped his fingers, and after a series of crisp sounds, he put his fingers on the custom-made input device.

"1101101010011010"

"1001001100101001"

"."

As the Korean won keeps hitting the input device, a series of symbols composed of numbers are constantly displayed and disappeared on the display of the integrated chip computer.

Sometimes the amount of data is so huge that it looks like binary codes are constantly being flashed in The Matrix, which makes people dazzled.

The code composed of complicated numerical values ​​and the refresh rate are so fast that the audience in the live broadcast room are amazed.

[What is this, what is this, what is this. 】

[Binary? 】

[The anchor is writing binary code? 】

[Didn't you say Chinese intelligent programming?What are these -101's? 】

[The underlying code, computer language! 】

【Why do I suddenly think of learning binary in the middle of the night? It all starts with a bat...】

[I'm a bit worried about IQ. After reading it for a long time, I feel ignorant and can't understand anything. 】

[A screen full of numbers, is this considered Chinese programming? 】

[Programming is not that simple. The anchor has nothing now. He must first build the underlying code. With the underlying code, he can write an assembler and then write a Chinese program. 】

[Computer language --> assembly language --> high-level programming language. 】

[Is there anyone who can understand, what exactly did the anchor write? 】

【can not read it! 】

[Can't understand +1. 】

【+1. 】

【+2. 】

【+10086. 】

[There are very few people who know the low-level binary code now, right? 】

[Binary code, isn't it 0 and 1?I seem to have just seen the anchor write -1?Am I dazzled? 】

[I seem to have seen it too. 】

[If there is -1, it is ternary. 】

In the live broadcast room, the audience talked a lot, and netizens were very interested in the underlying code written by Korean Won.

After all, this is the first time most people have come into direct contact with the underlying computer language.

But there are almost no people who can understand it.

So I can't figure out what the anchor wrote.

The experts from various countries squatting in the live broadcast room are different.

Huaguo, the capital city.

In the underground base where the 'MSC-CNC eight-axis six-link CNC machining equipment' was tested before, there are still busy crowds, and some programmers are watching the live broadcast.

When seeing Won start to write the low-level machine code, the top programmers who watched the live broadcast looked solemn or dulled.

A senior with a bald head stared at the live broadcast screen intently and frowned when Won started to write the base code.

After a while, the senior programmer frowned as if thinking of something, his pupils dilated, his mind was wandering, and he was murmuring unconsciously, as if he was calculating.

Half a day later, the senior programmer came back to his senses, stood up abruptly, and exclaimed!
"Is such that!"

"Oh I see!"

"I found out what is the lock in the 'MSC-CNC eight-axis six-link CNC machining equipment'."

Hearing this, everyone in the control room immediately cast their gazes over, looking at the programmer's shiny head.

It seems to be full of light of wisdom.

They have been researching this CNC machining equipment for more than two months, but they still haven't found any useful information.

Seems to be working now?
Stared at by everyone, the bald programmer took a deep breath and said in a trembling tone:
"Sort system!"

"It's binary!"

"We all know that binary is the underlying code used by computers today, and it consists of 0s and 1s."

"But this anchor modified the base system of the underlying computer code. The base code he used was not binary, but ternary."

"When he wrote these low-level codes, he used the three numbers -1, 0, and 1."

"This means that whether it is the central computer or the CNC processing equipment he uses, they will all use the machine language compiled from the ternary code."

"Although I don't know how the anchor managed to make the CNC processing equipment recognize the underlying codes of different bases."

"But this should be the reason why we have been unable to find information about deciphering locks."

Hearing this, everyone in the entire control room immediately widened their eyes, their faces full of bewilderment and bewilderment.

After half a sound, someone in the control room came back to their senses.

The experts in charge of hardware analysis of the 'MSC-CNC eight-axis six-linkage CNC machining equipment' raised their own questions in doubt to the bald programmer in front of him.

"Binary and ternary, when applied to computers, is there a big difference?"

Hardware and software are two completely different fields. Even the top experts in their respective fields only know about these things and don't dabble deeply.

What the hardware expert wants to ask is not the difference between the two, but the places that need to be changed after the two are applied to the machine.

Because by identifying what needs to be changed, they can find out where the lock is.

"It's big if you say it's big, and it's not big if you say it's not big."

The bald-headed programmer didn't answer, but another expert in the control room spoke.

"Normally speaking, the application of binary and ternary to computers or machines is nothing more than adding another middle level to the high and low levels."

"Adding a medium level is simple, but verifying this medium level requires certain changes to the chip equipment of the computer and the machine."

"The ternary computer is not impossible. In fact, this is not a new concept. There is a ternary computer at the National Defense University of Science and Technology in Star City."

"Compared to binary, ternary is closer to e-ary."

"Theoretically speaking, the e-ary system is the most efficient system for 'storage' in theory, which to some extent means that the ternary system is better than the binary system."

"Theoretically speaking, as long as the instruction set is Turing complete, the ternary system that can be calculated in binary can also be calculated, and vice versa."

"The reason why modern computers use binary is because the levels of the two states are the best to control."

"Computer chips operate on the basis of high levels and low levels."

"The high level can be 3.3V, 4.5V, or even 5V, and the low level is generally 0V."

"In the early years, the chip manufacturing technology and transistor manufacturing technology were not very mature, because the judgment and control of the input level could not be perfect."

"Using binary can effectively solve this problem. Even if your input level has a large difference, you only need to control the low level to 0V."

"In this way, even if the level of the input chip fluctuates to a certain extent, the chip can still make judgments, which greatly improves the accuracy of judgment and reduces mistakes."

"In this way, binary is called the basic system of computer chips by default, and it has continued to this day."

"Although with the advancement of technology, traditional computer components such as vacuum tubes and transistors are gradually being eliminated and replaced by faster and more reliable ferrite cores and semiconductor diodes."

"These electronic components form a good controllable current transformer, which provides the possibility for the realization of ternary logic circuits."

"It's just that at this time, binary computers have spread all over the world. If you want to change it, there are too many things involved. It can be said to be a difficult thing."

"So at present, ternary computers and quaternary computers still exist in laboratories in various countries, and they are only for research and have not been widely promoted."

(End of this chapter)

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like