Bright Sword Military System

Chapter 1301 C Language

Chapter 1301 C Language
Although [-] million is not a small amount, it almost accounted for one-third of the military coins Wang Xuexin earned for so long, but Wang Xuexin had to reluctantly buy it at this time.

Originally, Wang Xuexin thought that the system would give some profound solutions, such as a very powerful circuit diagram or a sophisticated platform to simplify the circuit. Unexpectedly, the system only replied a few words "C language"!
Wang Xuexin couldn't help cursing in his mind: Damn, are you playing me?

But when he thought about it again, he was stunned for a long time on the spot and couldn't speak.

Maybe the C language can really solve the problem...

The difficulty Turing encountered was, in the final analysis, the problem of lack of standardization and process of computer operation, that is, how to connect wires depends entirely on scientists' understanding of data.

This wiring method is okay for fixed-point arithmetic... fixed-point arithmetic is relatively simple, although it wastes memory cells, it simplifies wiring.

However, although the floating-point operation saves the storage unit and increases the precision, the complexity of the wiring has doubled because of the complexity of the operation.

At this time, it is difficult or even impossible to complete the wiring based on the scientists' understanding and feeling of the data as before. Sometimes even a mathematical genius like Turing will be involved in complex wiring methods.

Therefore, Wang Xuexin does not need to pay attention to the wiring methods drawn by Turing like circuit diagrams, nor does he need to understand the so-called "orders", "operations", "rounding overflow", and "data normalization" in floating-point operations. "Wait for the operation.

He just needs to invent a "language", a "language" that can be used in computers.

Wang Xuexin had always thought that a high-level language such as "C language" would definitely not be able to be used on such a primitive computer at this time, because they are not compatible, and current computers "cannot understand" high-level languages.

Only now did Wang Xuexin realize that he was wrong...

At this time, this kind of low-level computer really "doesn't understand" and cannot directly use high-level languages, but high-level languages ​​can clarify the logical relationship between data, and can determine whether to make selection judgments or loops when a certain step is reached.

Then solidify and standardize the corresponding wiring methods, and you only need to put them up in a fixed way when working... This has achieved the simplification and process of complex wiring, and even ordinary people can operate after training It does not require scientists to do it themselves.

In this way, scientists can be freed from monotonous, complicated, and meaningless wiring work... These should be left to programmers, and scientists should spend their precious time on more meaningful work , such as improving computer research algorithms and so on.

But this is just Wang Xuexin's idea, he is not sure if this is what Turing wants.

So Wang Xuexin put on a contemplative look with an uncertain tone, and said: "I remember that you mentioned in your paper that the model of transforming real problems into mathematical operations is the input and output of data, storage, plus A series of instructions!"

What Wang Xuexin is talking about is the Turing machine he understands, that is, the computer Turing imagined. The machine he imagined can be connected with real events and solve problems is very similar to modern computers... the overall process is exactly the same , only some details are different.

Turing nodded happily, and replied: "This is what I want to express, Comrade Leader, it seems that you understand my thesis, I am very happy to hear this!"

"What I want to talk about is the series of instructions mentioned in Ni's paper!" Wang Xuexin said.

This series of instructions is actually the program written when using a computer in modern times.

"Is there a problem?" Turing asked back.

Wang Xuexin flipped through the document given by Turing, took out those complicated wiring methods like circuit diagrams, and asked: "If we want to correspond to your thesis, can these wiring methods be understood as giving instructions to the computer? "

Turing looked at Wang Xuexin in surprise, then nodded his head: "It's absolutely correct, that's what I've always thought!"

Turing felt like he had found a bosom friend, because even Joan didn't realize it. He didn't expect that on the other side of the world, in China, where industry and technology were extremely backward, there were people who thought the same as him.

When Wang Xuexin got Turing's affirmative answer, he let go of his hanging heart, because it proved that his previous guess was correct, and the "C language" given by the system was also the correct answer.

At this time, Wang Xuexin couldn't help complaining about this damn system, and it cost [-] million military industrial coins just to give these three words... Damn it!Did the wind blow my money?
But when I think about it in detail, I feel that this is actually my fault... I clearly know that the C language knows that it is used on computers, but I didn't consider whether it can be used but denied it without thinking!
It seems that I really don't have the potential to be a scientist, the kind who can return empty-handed while sitting on Baoshan.

Thinking about it, it is useless to regret that the military industrial coins have already been spent, so Wang Xuexin had no choice but to say to Turing: "Since this is the case, why don't we sort out these wiring methods in an easy-to-understand way, like The way we communicate with machines, we can call it a 'language'!"

Turing couldn't help being taken aback when he heard this: "Communicate with the machine...'language'?"

These words have long been rotten in modern times, such as "human-computer dialogue", "human-computer interaction", and various "languages" for computers.

But it is difficult to understand in this era, because it is equivalent to treating the machine as something with an IQ. When people input data and instructions, they are not manipulating but communicating with the machine. Communicate in a way that everyone can understand, and this way is called "language".

It took a while for Turing to react. He nodded and praised: "This is... This is a very vivid and novel term, Comrade Commander! A kind of 'language'... You, can you give an example? What language should we use so that both we and the machines can understand it?"

This is not too difficult for Wang Xuexin. Although he doesn't know C language deeply, he can remember the main sentences very clearly.

Wang Xuexin sat down at the desk, took the paper and pen and wrote while saying: "For example, when calculating, the machine will need to judge whether a certain value is '0' or '1' before continuing to calculate. This wiring method We can classify it as a judgment statement, or an 'if statement'..."

Turing understood what Wang Xuexin meant after he said the beginning.

"It's great, Comrade Commander!" Turing jumped up like a child, dancing with excitement: "You are simply a genius, Comrade Commander! If you do this, no matter how complicated the wiring method is, it can be operated in a standardized manner." The manual is well organized and doesn't need to be highly skilled!"

Wang Xuexin nodded, sighing in his heart that scientists are different, and he can guess everything at the beginning of the story...

(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