Chapter 153: Compiler (Third Update)

"What, the other party agreed?" Yang Lin stood up from his seat all of a sudden.

Bai Hua nodded and said: "Yes, Mr. Yang, the fax sent by Apple and Google said that they hope we will start the tripartite negotiations as soon as possible!" They said they were going to send a negotiation team to Jiangcheng next week! ”

"Good, good!" Yang Lin said three good words in a row, turned around the office twice, and then turned around and said: "You tell Mr. Yu the news, negotiate according to the principles I reached with Cook and Page before, and try to get it done within the year!" ”

"Yes, then I'll go first!"

Watching Bai Hua's figure disappear at the door, Yang Lin calmed down.

If we can reach an agreement with Apple and Google to cooperate with the three parties, it means that there will be no obstacles to the promotion of MatrixOS around the world, coupled with the Mix instruction set CPU of Matrix Semiconductor, which means that an industrial system that is enough to compete with Microsoft and Intel is about to rise.

But now, what Yang Lin has to do is to consolidate the foundation of Matrix Digital.

Yang Lin thought about it, returned to his desk, moved the mouse, and the computer screen in the screensaver state lit up all of a sudden.

Yang Lin looked at the dense code on the computer screen, and his brows furrowed again.

During this time, Yang Lin has been writing the MatrixOS app development kit, which is similar to AndriodStudio and Apple's Object-C, and every programmer can use this toolkit to develop MatrixOS mobile applications.

Yang Lin originally planned to spend half a month writing the toolkit, but when he was about to finish it, he gradually realized that the toolkit he had developed on the basis of JAVA, C, and C++ languages might not be suitable for the MatrixOS operating system. Even if it is released when the time comes, programmers will develop a small M system APP through this tool. It is a little smoother than the APP in the Apple store, and it does not make the APP also reach the level of smooth synchronization of MatrixOS's built-in applications.

This is sad for Yang Lin!

He knew it in his heart. Unless you design a new software development language based on the underlying architecture and compiler of the Mix chip, just like the MatrixOS operating system, it is impossible to develop a toolkit based on JAVA, C, and C++ languages.

Yang Lin couldn't help but scratch his head, feeling that his idea was a bit whimsical.

It's not that it can't be done, but if you do this, any programmer who wants to write an app for Xiao M will have to learn a new language that is completely different from the existing computer language system, which is too painful!

But if Yang Lin was asked to release the MatrixOS toolkit he had written now, he would be a little unwilling. After all, this toolkit did not reach the level I expected, and the fluency of the developed APP still has a certain impact on MatrixI.

"It would be nice to be able to translate this new language into the language that programmers are most familiar with!"

Yang Lin narrowed his eyes and rubbed his temples, and suddenly, he felt that his brain flashed, and a magical brain hole suddenly appeared in his mind - he developed a Chinese language programming based on the underlying architecture of Rectangle Core No. 1 and its compiler?!

As soon as this idea popped up in Yang Lin's mind, it grew like a weed.

If any computer practitioner heard Yang Lin's idea, he would definitely look disdainful and feel that it was completely layman's words.

After all, the basis of computers is binary. High (powered on) and low (powered off) represent the two states of the CPU circuit, respectively.

Software, on the other hand, can only control the direction of the CPU's logic circuits, which are solidified addition circuits and multiplication circuits, and cannot change the basic principles of computer operation.

Yang Lin even developed the so-called Chinese language programming. At most, it is like easy language, replacing keywords such as if, or, and printf with if, or, and output, which is essentially no different from C language.

Of course. Yang Lin doesn't think so!

He relied on the compiler carried in the Rectangular Core 1.

So what exactly is a compiler?

Put simply, a compiler is a program that translates "one language (usually a high-level language)" into "another language (usually a low-level language)".

The main workflow of a modern compiler: sourcecode→ preprocessor→ compiler→ objectcode→ linker → executables.

High-level computer languages are easy for people to write. Reading, communicating, maintaining.

Machine language is something that computers can directly interpret and run.

The compiler takes an assembly or a high-level computer language sourceprogram as input. An equivalent program translated into the machine code of the target language.

The source code is generally a high-level language, such as Pascal, C, C++, Java, Chinese programming, etc., or assembly language, and the target is the object code of the machine language, sometimes called machine code.

This brings one to the importance of the compiler.

Just look at Intel!

Everyone in the rivers and lakes knows that Intel not only has its own compiler system, but also distinguishes between Intel and non-Intel systems in targeted optimization, and focuses on optimizing its own processors.

This also led to the U.S. Federal Trade Commission's investigation of Intel's monopoly case in 2008, which used compiler optimization as evidence of Intel's unfair competition.

In 2010, the FTC reached a settlement with Intel, in which Intel promised that compilers would no longer distinguish between Intel and non-Intel processors and optimize them equally, ending the years-long monopoly case.

However, the compiler on the Rectangular Core 1 is completely different from the ordinary compiler.

In a way, M can show such amazing intelligence, MatrixOS accounts for 50% credit, Mix instruction set accounts for 30% credit, and the remaining 20% is due to the compiler.

In fact, Yang Lin has not understood the principle of this compiler so far, he just made such a compiler according to the conversion principle of the number matrix inside his brain, and the biggest function of this compiler is that it has the ability of fuzzy recognition. (To be continued......)

PS: My head is very swollen and sleepy, and I will see if I can write another chapter, if it really doesn't work, I can only put it until tomorrow.