Chapter 368 Procedure

"Li Sheng, do you want to try the machine?" Wang Lewo called out in a low voice.

Now the machine has been moved to this room, on a desk, connected to an EPSON MP-80 printer.

The power supply is already connected and in a usable state,

Since Li Guobao said that the entire overseas investment department may have to follow Li Yiming during this time, it is necessary to be prepared for someone to work here.

Li Yiming nodded, sat down, and thought about how to make a Tetris game with C.

At that moment, he had already finished the C language book and memorized all the syntax constructs and command tables.

THE TETRIS CODE PROGRAM IN HIS HEAD WAS IN JAVA.

BUT NOW THERE IS NO SUCH LANGUAGE AND PLATFORM AS JAVA, WHICH WAS DEVELOPED BY SUN IN '91.

THE EMERGENCE OF JAVA IS RELATED TO C, WHEN SUN LABS WERE WORKING ON SMART APPLIANCES, AND ENGINEERS WERE OVERWHELMED BY THE C COMPILER BECAUSE THE API WAS EXTREMELY DIFFICULT TO USE,......

Li Yiming knows that API is the abbreviation of application programming interface, and the compiler is a program that translates a high-level language into a low-level language, which is why he likes technology dry goods.

Ninety-one years have been thinking about smart appliances, these terrible details show that many of the big companies like to play the patent trap is correct, the use of development pre-research plus concept, smart people can always see the development after 30 years, and continue to work hard for it.

Wang Lewo watched Li Yiming typing flexibly on the keyboard with one hand, and the rows of languages on the monitor were displayed, this speed was a bit like a novice typing, no, this command was right.

"What does Li Sheng want to make up?" Wang Lewo is not a program expert, just a beginner, he can't understand what Li Yiming is making, obviously he has to teach himself before.

"Just give it a try. Li Yiming stared at the screen thoughtfully, the Tetris game has not been ported to the PC yet, and this is not a PC.

But this is a very vigorous game, and the market and benefits it brings are very considerable.

What's missing a piece of code in between?

I imagined the blocks spinning and falling, eliminating.

…...

The crisp keystrokes stop, save.

Li Yiming stood up and walked a few steps,

SUN's team already knew when developing smart appliances that the resources available for this kind of embedded platform were extremely limited, and you couldn't treat a microwave oven like an assembly machine, and that kind of product would be too expensive to bankrupt the company.

And the classic C language is also problematic because it's so complex that many developers often use it incorrectly, and more importantly, they find that C lacks a garbage collection system, portable security, distributed programming, and multithreading...... So in the end, they simply applied to develop a platform that was easy to port to a variety of devices.

Based on the available funding, SUN decided to develop a new language that combines C and Mesa.

Mesa is a programming language that is not widely used outside of PARC, but it has influenced many subsequent programming languages, such as Modula, which inherited and developed the PASCAL language......

Therefore, computer language is also constantly evolving, just like those dialects in Shen County, no, it can't be compared like this, it should be said that computer language is actually a condensation of the history of human language development, even after 30 years, they are constantly evolving.

"I'm going to compile it too. Wang Lewo reminded.

Li Yiming looked at him: "No hurry." So be it!"

It turned out to be pretending, Wang Lewo thought to himself.

Li Yiming sat back in front of the computer: "I want to type some copyright statements, in Chinese." ”

"That's right. Wang Lewo stretched out his hand and demonstrated.

Li Yiming stared at the screen: "This can only be entered in traditional characters?"

"Hey!" Wang Lewo looked at Li Yiming, "This uses a method called Cangjie input, as well as pinyin input." ”

Li Yiming nodded, he knew that the Taiwanese Zhu Bangfu developed, and the phototypesetting machine of the Rongguang Printing Factory used a Leshi input method, and the coding was very complicated.

It's really convenient to say that it's a smart input method that mixes Wubi and Pinyin, but now he doesn't have that simplified font library on hand, and this thing has to be installed on a computer to use.

The so-called pinyin input of Xiangjiang is not a standard Chinese character, and it may also contain some special Xiangjiang characters.

Wang Lewo found a book from the table and handed it to Li Yiming: "This is the usage of that input method." ”

Sure enough, it was that Zhu Bangfu.

"Then this traditional body can be printed?" Li Yiming looked at the printer and asked, this should be the product of the Epson company of Yuben, it seems that this company launched a big selling product in 88 - a dot matrix printer with a Chinese font library 1600K, selling three million units (data).

So now this can print Chinese?

"Yes, there is a font library here, what does Li Sheng want to print?" Wang Lewo looked at Li Yiming and asked.

"Is there no Chinese Simplified Chinese?"

Wang Lewo was stunned for a moment and shook his head.

Li Yiming thought about it, it is normal to have no, and the overseas Chinese area does not use simplified characters.

In his opinion, the input method is not difficult to develop.

Because its working principle is very simple, it is a table lookup operation, the input information is keyboard information, and the corresponding Chinese characters are found in the table according to the keystroke message.

The keystroke message is first sent to the input method manager, and the input method manager calls the conversion function of the input method, and the conversion function of the input method obtains the keystroke message and saves it in its own array, when the specified conditions are met, the input method returns the appropriate word, word to the input method manager, and the input method manager then passes the result word, word to the associated application window.

But it can't be developed casually, you have to have a good coding specification first, then make a font table, and then you have to have display support, which involves the hardware specification.

Whether it's Xingyi or Pinyin input, it's all related to the keyboard, and this keyboard is not scientific at all.

But now he can't immediately promote any simplified input method in places like Xiangjiang, Hong Kong and Taiwan, the reason is very simple, this will be used by the enemy to fight a cultural war. If so much of the cultural content of Xiangjiang Taiwan is converted into simplified Chinese at once, it will have a great impact on the mainland.

"I'm going to ask, does Li Sheng want simplified Chinese?" asked Wang Lewo carefully.

Li Yiming tapped his fingers on the keyboard a few times: "This keyboard is not good,......

Compilation speed...... So so.

Wang Lewo looked at the screen, he still didn't see what the program was for, Li Yiming wrote his name on it.

After tapping a few keys, a box appeared on the screen, empty except for a few numbers on the side.

Wang Lewo glanced at Li Yiming strangely: "Li Sheng's program is so well programmed, I can't tell that it is a beginner, when I first learned it, I asked it to display a row of words." ”

Li Yiming looked at him, oh, and then tapped the spacebar with his finger.

Wang Lewo's eyes widened, and he saw that strange things began to appear above the frame, which were blocks, and blocks of various shapes fell one after another, and then piled up under the frame.

FROM THE BOTTOM PILE TO THE TOP, THEN A PROMPT "GAMEOVER" APPEARED