Chapter 209: The Nature of Calculation (Part II)
Yang Lin smiled and said, "This is the definition of a computer in the book. But in my opinion, this definition is too rigid. What is a computer, the essence of a computer is an adder (only 1+1) and a porter. ”
Everyone couldn't help but be slightly stunned.
Yang Lin said: "Subtraction is added with complements, multiplication is calculated many times, division is converted to multiplication, this is calculation; 8 bits and one byte, 128 ASCII codes, and the number becomes a letter; Alphabet group words words do instructions, numbers can represent instructions or operation components, instructions have opcodes and operands, command adder operands, this is assembly. ”
"Image RGB ternary color 256 gray scale, sound 44.1kHz sampling, Chinese characters two-byte unicode. So the sound we hear a lot becomes binary 01 code. With these, I can control the LED display with a single-chip microcomputer, and I pass 1 and you will turn on, which is the switch. When I have 128*64 LCD together, this is a 128*64 LCD screen. ”
"How do you realistically matrix digits? How do I use my keyboard to scan the letter A? How to turn on the WIFI module? How do you write a driver? It's all in C. That's the drive. ”
"The driver comes out, how to allocate time to the processor, how to occupy memory, how to divide the cache of hard disk memory, when to use the process, how to deal with the peripheral driver, etc., these are written to be a simple operating system."
"The screen can be displayed arbitrarily, the speaker can sound at will, there is OS as the underlying support, and then I let the screen show a gun. I define it as an object, define some operations. Like pulling the trigger. Then define some characters, scenes. Define some rules, and that's what CS is. The gun here is just a gun, I don't care how it is drawn or how it is displayed, I just need to know that it is a thing, I can use it. This is object-oriented programming. ”
Yang Lin said unhurriedly, the whole conference room was so quiet that it could be heard, but his voice seemed to have a peculiar rhythm, although he said some well-known foundations, but combined with the matrix language information just now. Everyone has a feeling of initiation.
Yang Lin paused and continued: "From the beginning of the birth of computers to the present, the operation process of all the programs we have written is to constantly do mathematical problems, even if the so-called writing games is to transform the rules of the game and the effects of the game into mathematical problems. ”
"The essential activity of FPS games on the computer is to constantly find the projection of the polyhedron under the three-dimensional coordinate system on the two-dimensional plane after transformation, constantly judge whether the two polyhedra overlap each other, and constantly find the shortest path between the two vertices, and finally achieve the goal of making the monster rush in front of you and bite you. This is true not only for games, but also for other software. Every detail is some kind of math problem. The blue navigation bar background at the top of the web page we browse is a light blue to dark blue gradient described by CSS. What's the deal with gradients? Given two numbers for each of the two colors and a third number for a distance, find the value and order of a series of colors. This minimizes the change between the two adjacent colors at this distance. ”
"So, all programming languages end up doing math problems, based on the given data. Count out some other data, count out more data. The calculated data is then stored, sent, or presented. ”
"But for artificial intelligence, there are a lot of technologies that require random calculations and decision-making. This is in contradiction with the fact that the computer runs according to the established procedures. At present, we commonly use C/C++ based on rand() and other functions to achieve random operation decisions, of course, there are also boost libraries that can achieve various pseudo-random, but the application scope of these functions is very limited, and it belongs to the extremely rudimentary artificial intelligence function language. Because of this, I've been thinking about whether I can design a new computer language that can allow ordinary programmers to design programs with artificial intelligence capabilities, which is why I designed the matrix language in the first place. ”
"So, in the matrix language, I've added a lot of new fuzzy arithmetic functions, and I've made it possible for computers to implement fuzzy decision-making capabilities in the decision-making process. In this way, even ordinary programmers can complete the software design of artificial intelligence through the matrix language. What's more, this matrix language development tool is tailor-made for our MatrixOS, and the programs designed through it are perfectly compatible with our MatrixOS operating system. ”
After Yang Lin finished speaking, he took a sip of tea, looked at the people in the conference room and smiled: "Okay, do you still have any questions now?" ”
Everyone couldn't help but look at each other, and they could see the shocked faces in their eyes, no one expected that Yang Lin would be able to design such a language.
You must know that the previous MatrixOS has always been completed by Yang Lin independently, until now, the algorithms used in this operating system are in the hands of Yang Lin, and no one knows how he achieved such a high degree of anthropomorphism on a software.
But now, Yang Lin has published the secrets of these algorithms and independently designed a systematic computer language, which is a revolutionary event for the entire computer industry, and its significance is no less than the introduction of the Mix instruction set and MatrixOS operating system.
More importantly, with such a language, it will make up for the biggest shortcomings of Matrix Digital, and from now on, Matrix Digital will master the core technology of artificial intelligence.
Any Internet company that wants to develop AI software must cooperate with Matrix Digital.
Matrix Digital will provide the company with one-stop services from instruction sets, compilers, chips, operating systems, and programming languages.
From now on, unless a country adopts trade protection measures to deal with Matrix Digital, no company can stop Matrix Digital's soaring pace, even if Microsoft, IBM, and Intel join forces!
The applause in the conference room rang out, from small to large, no one deliberately applauded, which was purely an expression of emotions from the hearts of everyone.
They saluted Yang Lin with applause, and it took less than two years for this young man to grow a company from a small software company to a large company that now spans the upstream industry chain of the Internet.
Although this company is still in its infancy, and neither capital nor connections can compete with those real giants, but people have reason to expect that the future of Matrix Digital will be a super company at the level of Apple and Google.
And for everyone here, it is the greatest honor for them to be able to create such a legend together with Yang Lin. (To be continued......)
PS: I recommend the "Fantasy World Crossing Rules" of the Void Blade children's shoes, and interested friends can go over and take a look