typeface
large
in
Small
Turn off the lights
Previous bookshelf directory Bookmark Next

Chapter 351 Absolute Artifact

 Chen Xiao temporarily named the compiler platform he developed as the Jiuzhang Compilation Platform, which can be regarded as commemorating Xia Guo’s most famous mathematical achievement in ancient times.

Programming needs to express the most accurate meaning in the most concise language. This is true whether using C language or other languages.

The Chinese language has the most natural advantage and can express the writer's meaning in the most concise and clear way.

But in order for the entire compiler to quickly understand the programmer's meaning, call the corresponding language library, and communicate with the machine, the compiler must have a large number of contexts and lexicon.

Chen Xiao currently finds a way to set commonly used language structure functions for the Chinese language.

To put it more straightforwardly, it is to give the phrase a vector, and then combine these vectors in the form of mathematical formulas.

And in the process of continuous learning of the vocabulary, we constantly modify and expand our own vector combinations.

A vector combination is an accurate statement.

The compiler can automatically extract the language logic and keyword phrases of the combination, and automatically filter out those nonsense phrases to clarify the programmer's meaning.

Chen Xiao checked the background of the server.

The server of Jiuzhang Compilation Platform Voice Library has been running for two days.

In the past two days, the Jiuzhang compilation platform's server and Baidu's server were connected to the Internet, and they were frantically removing all regular Chinese language and text resources that Baidu could search.

In the process of continuous crawling, reading and learning, the language library of the Jiuzhang compilation platform will form a relatively complete logical structure.

These so-called logical structures are actually mathematical formulas that remove word vectors one after another.

These word vectors and logical formulas are actually the underlying code for the content compiled by the compiler.

Using such a low-level code, you can communicate with C language, C++ or other programming languages, and accurately call the relevant content of these programming languages.

Chen Xiao's development of this compiler completely borrowed the capabilities of C language and C++LV8. With Chen Xiao's understanding of technological systems, after learning a lot of languages ​​and forming his own logic, the Jiuzhang compilation platform,

It is likely to become the basic platform for building artificial intelligence in the future.

Now that the language library has begun to bear fruit, Chen Xiao also tried some simple programming.

For example, compile a program for addition and subtraction.

Open the Jiuzhang compiler platform and Chen Xiao directly enters:

Application: addition and subtraction of numbers.

Then clicked the run button.

The addition and subtraction of numbers, these words actually represent a lot of underlying logic.

The compiler's language library also forms corresponding language vectors and mathematical logic related to digital addition and subtraction.

Then the Jiuzhang compiler will follow this logical correspondence to find the most concise and relevant language that is most suitable for the application, and capture and edit the language to form the final program.

After Chen Xiao clicked Run, the application of addition and subtraction operations was edited.

He entered a few numbers at random and performed calculations, and the results were completely accurate.

Chen Xiao checked the corresponding database again and found that this time the compilation platform called the C language.

The underlying code is more complicated.

#include

int main()

{

double sum=0;

int flage=1;

for (int i=1;i<=6;i++)

{

sum+=flage*(1.0/i);

flage*=-1;

}

printf(“%llf“,sum);

}

Addition and subtraction operations are a very small logic, so on the Jiuzhang compilation platform, they can be expressed in a few very concise words.

But when compiling more complex applications, the situation is not so simple.

This involves the second very important application of the Jiuzhang compiler - structural logic.

This requires programmers to divide a very grand application logic into small pieces of application logic from shallow to deep.

Then correspond to such application logic to input relevant Chinese language characters.

For example, Chen Xiao now needs to write a more difficult program.

"If it is Monday to Friday, then the set desktop is the picture named Beach Scenery in the picture on drive d.

If it is Saturday and Sunday, then the set desktop is the picture named Desert Scenery in the picture on disk d."

Programs with a relatively complex background require Chen Xiao to write them using language structures.

In the Jiuzhang compiler, the default is from framework to details, from simple to complex.

Chen Xiao wrote on the compiler.

"Set desktop."

"The background of the desktop is read from the library on drive d."

"Read the system time, the time is Monday to Friday, read the beach, the time is Saturday and Sunday, read the desert."

Chen Xiao only used three lines of Chinese to complete the entire procedure.

And each line of Chinese has a corresponding underlying language.

This is the biggest advantage of word vectors and language structure logic.

Chen Xiao immediately checked, what language was the application calling?

He found that the Jiuzhang compiler called c++ through the language library and conversion of the underlying logic.

The code that appears in C++ has hundreds of lines in total, and the code is even denser and dazzling.

Chen Xiao wrote this application and used it for less than a minute. The application is completely accurate and has no bugs.

If an experienced programmer writes this application in C++, it may take more than 10 to 20 minutes.

For engineers who are new to programming languages, it may take an hour or two, or even longer.

The Jiuzhang compilation platform greatly solves the problem of difficulty in programming and typing code.

From now on, the truly outstanding programming engineer will not be how accurately he types the code, but how precise and rigorous his logical thinking ability is.

Seeing such operation results, Chen Xiao was quite satisfied.

The server of the compilation platform will always run in parallel with Baidu's server, continuously learning relevant language knowledge and language logic.

Chen Xiao's original intention in developing this editor was to improve the efficiency of programming and develop domestic operating systems as quickly as possible.

Now that the compiler is available, the most difficult aspect of developing a domestic operating system is now in front of us.

That's the entire logic and layout of the operating system.

This requires the best engineers in the country and even the world to help think and write logical planning diagrams.

This matter cannot be handled by Chen Xiao alone, but requires teamwork.

Chen Xiao looked at the sky outside the office and saw that the lights had already started to turn on.

He was working overtime with the door closed in the office, and neither Song Yi nor office director Luo Ting knew about it.

There was some rumbling in the stomach, so Chen Xiao opened the refrigerator, made some frozen dumplings and boiled them in the pot, so he could deal with it tonight.

It's definitely not going home at this late hour. Wen Qi and Han Wen live at home, so it's not convenient for Chen Xiao to go back.

In the evening, my father called me and asked Chen Xiao how long it would take to go back for the Spring Festival.

Chen Xiao could only smile bitterly. Even if he was celebrating the Spring Festival, he still had to give some homework to the engineers of Yuedong Internet.

It’s the end of February after the Spring Festival, so time is of great use.


This chapter has been completed!
Previous Bookshelf directory Bookmark Next