Xueba's Black Technology Simulator - Chapter 166
c165 Chinese computer language
After returning home, Lu Xiao began to study and write a thesis.
He writes papers differently from others. Others have to think in various ways. Lu Xiao can just create a new project in his own simulator.
If the accumulation is enough, it won’t be long before the simulation is successful.
Previously, he hadn’t given the papers on quantum mechanics to several academicians in Beijing because Lu Xiao’s brain CPU was filled up by other projects.
Now that all the things that need to be dealt with urgently have been dealt with, and the company has employees who are developing, he can finally devote all his energy to academics.
The first thing to simulate is naturally not quantum mechanics, but to simulate what the three papers are going to write.
These three papers have a general direction.
One must write an article related to quantum mechanics and ultra-ultrasonic waves.
Write an article on brain waves.
In the last article, Academician Hong suggested to write mathematics. Lu Xiao didn’t know whether he could write it.
At present, the level of each subject is almost level 6, mainly related to scientific research, such as art and painting, and the skills of farming are naturally not so high.
Lu Xiao has been busy with company affairs recently, and is also studying and improving in his spare time. He has visited the school library many times.
Soon the simulator gave three paper directions.
Only the last paper is not mathematics. It seems that the simulator understands himself better than Lu Xiao, knowing that even if Lu Xiao simulates, he can’t solve some mathematical problems that have plagued the world for countless years.
The answer is computer language!
The third paper given by the simulator is for Lu Xiao to publish a brand new computer language.
Xia Guo is relatively backward in many aspects. The main reason is that we developed too late. Others have developed for two hundred years, while Xia Guo has only 70 years in total!
Computers also started abroad, and others came up with various computer languages.
Lu Xiao is an expert in computer. Because of his in-depth contact with the X system code, he has written a lot of software by himself, and his cryptography level is also very high, so he is actually the most familiar with this aspect.
Apart from developed countries, the only computer language born in an underdeveloped country should belong to Brazil.
Among the commonly used computer languages, C, C++, C # , Java, JavaScript, Go, Rust, and PHP were born in the United States; Python was born in Europe.
But the Lua language was born in Brazil.
Brazil is a developing country with a low economic level and an underdeveloped IT sector, but it has created a world-popular programming language. How did it do it?
There is a joke in the programming world: the camel is the horse designed by the committee.
The joke is that the programming languages designed by the committee are not very good, such as Algol 68, PL/I, Ada did not meet the original expectations.
Lua was also designed by a committee, however, this committee is very small, only three people, they are colleagues at the Catholic University of Rio de Janeiro: Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes.
The situation about Lua is very special. In the 1990s, Petrobras needed to customize many functions, and finally these three people completed the task perfectly.
At the later stage of the project, the three found that the original computer language was not enough, and a real scripting language was needed, which could assign values, have logic control, and functions, and could be embedded in Petrobras’ applications.
It took some time for Lua to be born.
In Brazil, because the IT environment itself is average, the Lua language has not developed.
The last three Portuguese-speaking coders brought the Lua language to the Eagle Country, preparing to export it to domestic sales. There is no Portuguese version of the Lua language manual. From the basic language structure to the manual, they are all in English.
When the three of them arrived in Eagle Country, no one paid attention at first, but when he advertised, he was noticed by the game company, and the situation was different.
Lua is short and powerful, and there are less than 10,000 lines of C code until Lua5.3!
The binary package including the I/O function is only more than 200 K.
Lua allows users to change the behavior of software without having to go deep into the internals of the software.
When it became popular, a large number of famous games such as “Half-Life”, “Sim City”, “World of Warcraft”, “Angry Birds” began to use Lua.
People who don’t understand computers often have a question, why no one writes computer language in Chinese?
All computer languages, even Lua, a successful computer language written by people in developing countries, are actually English.
Is it because English is naturally suitable for computers to understand?
When Lu Xiao didn’t understand computers before, Lu Xiao also had such doubts.
But after really getting to know it, I realized that whatever language is actually used is just an appearance.
Just like brain waves, brain waves can be of various types and can be translated into different languages. People in each country translate their thoughts, and the read brain waves must be different.
But in essence, they are all decoded into picture form.
The essence of computer language is mathematics and logic.
It can be said that the expressions of computer language and mathematics are similar, and they are highly symbolic things. Chinese is also a symbol, and it is still a very changeable symbol. Naturally, it can also become a computer language.
Unfortunately, Lu Xiao discovered that the core of the X system is still not Chinese programming, but English.
This may be due to the continued development in the future, and the fact that the West has always been the leader in the computer field.
But now it is different, with Lu Xiao here, he can write a Chinese computer language.
One thing to know is that foreigners who use English as their mother tongue may not write codes well, because the systems are different, and computer codes pay more attention to mathematical thinking and logic.
People who don’t understand programming always think that if a Chinese computer language is designed, programming will become easier.
I also think that the meaning of Chinese words is complicated, and perhaps the core of artificial intelligence needs this kind of ambiguity.
But Lu Xiaoneng clearly told these people that as long as it is a computer language, it is very directional, corresponding to a certain kind of loop in the computer chip.
Chinese can be fuzzy programming, that is wishful thinking.
The argument that different combinations in English, or even the same word, have many meanings is untenable.
However, Lu Xiao felt that if he created a computer language, he might really be able to achieve fuzzy programming.
Lu Xiao thought for a long time, and kept simulating in his mind.
If Lu Xiao’s brain is a computer chip, the CPU is already hot at this time.
“If I use Xiaolu as the core, the core of Xiaolu is Chinese coding. It can understand the meaning of Chinese, and in the end, countless ordinary people can use Chinese programming!” Lu Xiao muttered.
Maybe it was Lu Xiao who made the sound and Xiao Lu heard it.
Xiaolu has been carried by Lu Xiao all the time. After hearing this word, Xiaolu will react immediately.
At this time, the little deer asked: “What does the master need the little deer to do?”
Xiaolu doesn’t call Lu Xiao’s father anymore. The previous address made Lu Xiao a little embarrassed. He is not married yet, and he is not ready to be a father, so Xiaolu calls him master.
Hearing Xiaolu’s reply, Lu Xiao was going to chat with Xiaolu about programming to see if he could understand what he meant.
“Xiaolu, if I describe something in Chinese, can you generate a program that can run?” Lu Xiao asked.
The deer has no independent thinking logic.
But when Lu Xiao asked questions, Xiaolu’s core neuron code, the logical system based on countless Chinese characters, would run at full capacity, trying to understand what Lu Xiao meant.
At this moment, the little deer understood, and it said: “Master, you can try it, what program do you want to design?”
Lu Xiao’s eyes lit up, it seemed that it was really feasible!
If it can be realized perfectly, Lu Xiao can already predict what the future will be like.
That will be a brand new era. Anyone who can speak Chinese can describe what a software will look like through Chinese characters, or even through writing and literary techniques.
Then rely on Xiaolu to realize the program.
It can be said that Xiaolu’s core neuron Chinese character logic code is the compiler.
Chinese characters themselves are computer languages.
Through the combination and description of different Chinese characters, programming can be realized.
If this path goes through, Lu Xiao’s thesis will be completed. It is not mathematics, but it is related to mathematics. It is a new programming method that can turn normal Chinese into a computer language.
“Okay, then let’s start with the simple one and design a calculation program, but my calculation answer is that 1+1 equals 3.”
Lu Xiao’s description is relatively simple.
But don’t think that programming will be easy.
Because 1+1 is definitely equal to 2 in computer code.
This requires variables.
Before Lu Xiao continued to explain how to realize it, Xiaolu said: “Okay, the program is on my server.”
With excitement, Lu Xiao connected to the Rongcheng server to see how the code of this program was written.
What excited him was that the core code was actually displayed in Chinese!
Specifically, it goes like this: ‘For example, 1 plus 1 equals 3, 1 equals 1.5, 3 plus 3 equals 9, and 1 multiplied by 1 equals 2.25’.
All programming is realized by Chinese logic, and finally the interface appears, just like a normal calculator.
But the design of this calculator case is also described in Chinese.
The code is like this: ‘Number keys 1, 2, and 3 are on the left of the number keys for addition, subtraction, multiplication, and division, the answer is above the number keys, and the frame parameters are. The answer frame is ., and the size of the number keys is .’.
After reading all the codes, Lu Xiao was stunned. It turns out that this is really possible.
In other words, when he used Chinese as the neuron core of Xiaolu, Xiaolu was equivalent to a compiler.
Of course, this program can only be used on the computer where Xiaolu exists in the end.
Ordinary environments cannot recognize such codes.
It can be understood as this answer, only Xiaolu can understand it, and then let the computer calculate it.
Other computers cannot understand these Chinese codes.
It can no longer be called a code, but a description.
After realizing simple calculator programming, Lu Xiao naturally wants to try more complicated things, and he plans to design a game.
This time Xiaolu was not allowed to write the program by himself, but Lu Xiao came to write one based on the code given by Xiaolu who wrote the calculator just now.
‘Item: card game, Zhajinhua, 235 is greater than three Aces, three Aes are greater than three Ks, and three Ks are greater than three Qs. ‘
The first thing to write is naturally the basic rules, and the next thing to write is to describe what each card looks like and what the interface looks like in words.
It is very simple to write such a program, the logic is clear and the text expression is no problem, and it can run.
Sure enough, the “Little Deer Compiler” game program successfully appeared on the server.
Lu Xiao found that it was really convenient when designing card vector graphics.
For example, Lu Xiao can insert the pattern of each card individually, or it can be automatically generated.
Because Xiaolu’s own database understands what words such as hearts, clubs, and squares are, and the designed vector diagrams, Lu Xiao didn’t interfere, but they are similar to real poker cards.
In just a few minutes, Lu Xiao actually designed a poker game!
Of course, more complex programs can be designed now, and Lu Xiao has been testing for a long time.
He found that writing code with the “Little Deer Compiler” uses a description, and this description is occasionally unrecognizable. The first thing to write is not the bottom-level code, but the top-level code.
For example, to write communication software such as WeChat.
The first thing to describe is what the interface looks like. It is best to design the interface vector diagram first.
Each function is described later.
Even if there may be problems in the logic when describing, “Fawn Compiler” can automatically correct it.
It can probably be understood as a deer, like a teacher, correcting a student’s homework, and found that the homework was wrong, and corrected it casually, so that the entire program can run on the computer.
Of course, sometimes Xiaolu will correct mistakes, but this is not Xiaolu’s fault, but the description itself is wrong.
Xiaolu just makes the program run.
“The Chinese computer language has become! As long as I open Xiaolu’s port to all programmers, they can upload the program to Xiaolu’s server to complete the code writing, but the system needs to upgrade the compilation library…” Lu Xiao excitedly said.
He can already imagine that programmers are no longer a profession with high barriers to entry.
Maybe a person who writes online novels can write better software.
If this person used to write fantasy novels, now he can write novels into games by himself with clear logic!
Of course, the various scenes and character models used in it are currently a problem.
But System X supports brain waves.
Brainwaves can also be modeled in 3D through X’s built-in modeling system.
In other words, everyone can write big games.
If you master Chinese well and have clear logic, you can write fun games.
In particular, the imagination must be rich, the game characters and scenes designed in this way will be better, and the game will definitely be more popular.
Lu Xiao has already realized that Mihayou’s business will definitely be impacted in the future.
After everyone is like a dragon, the entire game industry will change.
In other words, the Internet industry also needs to change, because some people can always come up with fantastic ideas, and they can design good software by themselves.
In the past, designing software like WeChat may have required a team of hundreds of people to write code for a long time.
But now it can be recovered by a single person.
“There is also a problem now. The Xiaolu compiler is based on the server in Rongcheng. I need to transcode it once, and then let the X system read it.”
Fortunately, this is relatively simple, since the computer can run Chinese code.
Then just make the compiler independent, which is equivalent to a converter. Xiaolu’s server is a port for modifying and optimizing Chinese code.
The optimized Chinese code also needs a compiler so that the computer chip can recognize it.
This compiler is similar to the English and Chinese data converter, and it didn’t take much time for Lu Xiao to get it out.
And I plan to upgrade this compiler to the X system next time, so that the Chinese code program will be recognized by the X system in the future.
Compared with the compiler that comes with the original X system, the advantages of writing Chinese code programs are too great.
What Lu Xiao needs to consider now is how to promote this brand new programming method.
There is also the question of how to charge.
There is no charge for other computer languages, and anyone can use them. Lu Xiao’s is different.
Its essence is to use the “Little Deer Compiler” to help ordinary people modify Chinese descriptions that computers cannot understand.
If it is not modified by Xiaolu, maybe the written Chinese descriptive code cannot be decoded by the built-in Chinese decoder of the system.
So there must be a fee.
Lu Xiao has to think about whether to collect the share according to the game platform and the ios software store, or according to the way of selling programming qualifications.
If internet writers could write games, then games would probably explode.
On the X system, there has never been a built-in software store.
The time seems to be ripe now.
If the X system has a software store, and all support X currency payment.
Lu Xiao felt that he was going to make money again.
Because when the X currency is exchanged, he can earn it again.
Lu Xiao found out that he was really a profiteer, and he planned to take the most profitable path.
The mall is up! Fruit mobile phones can collect fruit taxes, so can Xiawei Technology.
But now more and more money, find a way to spend it.