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

Chapter 353 Yang Fei: The Boss Is Eternal God

 Yang Fei immediately wrote the program on the interface. He had just started using the Jiuzhang compiler, and he couldn't quite figure it out logically.

He put his hands on the keyboard for a long time without knowing what he was typing.

Then Yang Fei thought for a long time and typed a few more words.

Chen Xiao looked at the text typed by Fei and said, "It is better to use concise language as much as possible, so that the compiler's language library can accurately identify it."

When Chen Xiao said this, he was actually thinking about a question.

The Chinese language is indeed broad and profound, and it can express meaning accurately.

However, the vocabulary of Chinese is very large. If the operator combines it at will, it will bring certain difficulties to machine recognition.

Jiuzhang is currently working on the Baidu server in order to learn more language knowledge. However, due to the performance of the server, especially the computing power of the chip, the compiler's recognition of long and difficult sentences is not so accurate.

The understanding of polysemy is not so accurate.

This will cause bugs in the compiler when running, and will also make it more difficult for engineers to write programs.

Therefore, Chen Xiao has a plan to develop a standardized statement usage library for the compiler. This will not only allow engineers to learn and master the Jiuzhang compiler as quickly as possible, but also improve the accuracy and efficiency of the compiler.

Chen Xiao kept this matter in mind and planned to arrange Yang Fei's team to do it after the Spring Festival.

After Yang Fei stared at the keyboard for a long time, he finally finished writing a small program.

This small program is a function for inviting friends in a chat group. If written directly in C++, it would take Yang Fei about a whole day.

Even if the entire team writes it together, it still takes more than half a day.

In addition to the time for subsequent program testing and bug correction, it may take two or three days.

But now it only took Yang Fei less than 20 minutes to input the logic he wanted to express.

After clicking Run, Yang Fei expected a miracle to happen.

It's a pity that the compiler prompted a lot of bugs, and Yang Fei failed in his first attempt.

Chen Xiao carefully looked at the content compiled by Yang Fei.

As expected, there was no problem with the logical structure. The biggest problem was that the language expression was not recognized by the compiler's language library.

At Chen Xiao's suggestion, Yang Fei modified his sentence to make it clearer and more concise, with fewer ambiguous sentences and polysemy words.

Yang Fei spent nearly 20 minutes revising the entire sentence.

Then he clicked to run with some trepidation.

What Yang Fei is worried about is not just whether the statement he wrote can form a perfect logical closed loop and run smoothly, but he is also worried that it will not succeed after this run, which would be a slap in Chen Xiao's face.

As a result, everyone breathed a sigh of relief. The result of the code running was perfect and met everyone's expectations.

Because this small program is only a part of the entire application, there is no way to intuitively check whether the writing of the small program is successful through the application?

But after the compiler has been logically and linguistically verified and there are no errors, it can already explain the problem.

The entire Yuedong Internet employees are excited. What is efficiency? This is efficiency. Work that originally took a day or two or even longer can now be completed in less than an hour. How can this not be exciting?

But even if such a result occurs, everyone is still worried. After all, the Jiuzhang compiler is an emerging thing. If the Jiuzhang compiler itself has a bug, then it will be wrong to show that it ran successfully.

The best way to verify is to find the corresponding code of the language called by the Jiuzhang compiler, and then use the corresponding compiler to verify it.

Yang Fei quickly followed the method told by Chen Xiao to find the corresponding code.

It turns out that the corresponding language called by the Jiuzhang compiler is also C++, which indeed proves that C++ is widely used in programming.

Yang Fei immediately looked at the C++ code. There were tens of thousands of lines of code in total, which indicated that the amount of the project was indeed very large.

Yang Fei first asked his team to check whether the code was accurate segment by segment, and the conclusions he came to surprised everyone.

The code provided by C++ is as expected by the team. The logic of each line is very correct, the pointer processing is also very appropriate, the location and application of variables are just right, and there is even some cleverness.

If you regard it as a composition, it is definitely a perfect composition.

However, visual inspection cannot draw a final conclusion.

The most important thing is to run it to see if there are any bugs.

After running it, Yang Fei and everyone were excited.

Perfect, absolutely perfect.

The entire code has no errors and runs very smoothly.

After the test run, Yang Fei's eyes widened with a look of disbelief on his face.

After all, several days of work can be completed in less than an hour. If the Jiuzhang compiler is applied, the work efficiency of Yuedong Internet's staff will be greatly improved.

Previously, when Chen Xiao talked about developing a domestic system, everyone thought it was just a joke.

Judging from the current preparations, Chen Xiao is serious, and everyone may really be able to complete the work of developing a domestic operating system.

[Influence +15]

[Influence +15]

[Influence +15]

Everyone thought that if Changtian Technology could really develop a domestic operating system that could be widely used, it could also develop industrial design software with more functions and more power.

Then Xia Guo will definitely be able to reach the world's advanced level in computer applications.

As Chen Xiao said, in the future, Yuedong Internet engineers will spend more energy and time on thinking and exploring the logical structure of the application, rather than boringly typing code.

Compilers can make engineers' wild imagination come true.

The picture is so beautiful that I dare not think about it deeply.

After enduring for a long time, Yang Fei exclaimed: "Boss, you are the eternal god!"

Chen Xiao said with a smile, "So this Spring Festival will be difficult for you, because there is a lot of work for you to do, and your Spring Festival holiday has been shortened from seven days to three days. You have to rush back to the company immediately after the second day of the Lunar New Year, and of course you have to work overtime.

The fee is three times as per the company’s regulations!”

The work arranged by Chen Xiao is to sort out the logical relationships of the Windows 98 system in detail.

The other is to explore the standard language library of the Jiuzhang compiler.

Everyone had no problem with the first job.

Yang Fei even issued a military order to eat every code of Windows 98 and to clarify the logical relationship of the system.

But the second question is more difficult for everyone.

Yang Fei said with a bitter face: "Mr. Chen, we are science students, and we are studying computers. I failed the Chinese language test with a score of about 80 in the college entrance examination. Otherwise, I would have gone to Yenching University to study. You let us, who are blind in Chinese, sort out the text."

This aspect of things is very difficult!”

After Yang Fei said this, Chen Xiao had an idea and was very happy.

That’s right, professional matters should be handled by professionals.

To revise the language library of the Jiuzhang compiler, it should be done by liberal arts students, especially liberal arts students who study Chinese language. Only they know which words and sentences are more accurate and complete.

Thinking of this, Chen Xiao couldn't help but curse. He had never thought that students studying Chinese language and literature could actually come here to engage in programming!


This chapter has been completed!
Previous Bookshelf directory Bookmark Next