Font
Large
Medium
Small
Night
Prev Index    Favorite NextPage

Chapter 293 "Glimmer" is born!(1/2)

"The new modular operating system... is a bit interesting. It is completely different from the mainstream operating systems such as WINDOWS, Linux, and Unix in the world today."

Now after absorbing and integrating theoretical knowledge such as operating system principles, Qin Ke's understanding of operating systems is far better than any undergraduate majoring in computer science and technology.

The current mainstream operating systems in the world, whether PC or mobile, are ultimately divided into three mainstream camps, windows, Linux, and Unix. The most mainstream Android on mobile phones is now based on Linux, while Fruit's IOS is based on

Unix, of course, if we insist on talking about its origins, Linux and even Windows have learned from the development thinking of Unix, and it can be said that they evolved from Unix.

But if we divide it from the more original thinking of operating system development, it is mainly divided into microkernel, single kernel (macro kernel) and outer kernel, hybrid kernel (multi-core), etc. It also includes the brief structure that has become history (its representative

for MS-DOS).

Currently popular Linux operating systems, including Android, are single-kernel, that is, all modules of the operating system kernel (including process scheduling, memory management, file systems, device drivers, etc.) run in the kernel state and have the ability to directly operate hardware.

The hybrid kernel operating systems mainly include Windows and IOS. The hybrid kernel is very similar to the microkernel structure, except that more of its components run in the core state to obtain faster execution speed.

Microkernel can achieve service modularization, high portability, and high kernel security, but its execution efficiency is poor. Currently, the operating system using microkernel is mainly Huaban's HMOS.

But now the "New Modular Operating System Design Ideas" given to Qin Ke by the system looks a bit similar to a hybrid kernel on the surface, but the key points are completely different.

It is a completely modular operating system. Each function can be modularized and then combined, just like building blocks, with countless small modules forming a large module and forming a whole.

Freedom and compatibility are the biggest highlights of this new modular operating system.

Freedom is because any manufacturer or even any individual can easily create the most personal and convenient operating system according to their own needs. How rich your imagination is, what it can become.

What ensures this unprecedented high degree of freedom is its compatibility.

Just like water, it is compatible with any container and is compatible with any computer hardware. Even antique machines can be installed and run, but it will provide fewer functions.

If your computer has a touch screen, then the operating system can be controlled by the touch screen. If you have a mouse, use the mouse. If you have a keyboard, use the keyboard. If you have a camera, you can directly read lips and gestures. If you have a headset, you can directly control it with voice.

It is compatible with applications of any format, whether it is windows, Linux, Android, IOS... programs of various formats can be automatically decomposed in it, installed and used after secondary compilation, and it can also improve execution efficiency.

The only limitation is that it needs to be connected to the Internet. Because of its modularity, its core is very simple. All rich functions need to be implemented by downloading modules from the "small module warehouse".

The biggest and most powerful thing about this operating system lies in its core components.

It is like a universal glue, managing the addition and subtraction of all modules and accurately allocating hardware resources between modules.

And this core component is AI, artificial intelligence.

This AI is different from Siri and Xiaoai on the market, but a real AI core with a considerable learning mechanism.

No wonder the system will develop this "new modular operating system" as the basis for the branch technology "artificial intelligence". Because this operating system is actually the residence of "artificial intelligence" and the "weapon arsenal" for it to realize all functions.

What Qin Ke is doing now is to first establish a modular operating system architecture, and use a simplified AI as the core to write several basic modules to form a new modular operating system with basic functions.

In "New Modular Operating System Design Ideas", a very simple AI core code with more than 70,000 lines is provided. It can only be called the original version of the lowest configuration AI. The advantage is that each line has comments, obviously

It is for Qin Ke to learn it and use it for practice.

Qin Ke, with his scientific thinking ability, logical ability, and world-class programming ability that is six times that of a normal high school student, spent about two hours to completely understand the 70,000 lines of code.

At this time, dawn was already appearing on the horizon, but Qin Ke, who had not slept all night, was not sleepy at all. He directly opened the function of the "Virtual Scientific Research Experiment Center" and devoted his consciousness to it.

Arriving at the "Artificial Intelligence Research Laboratory", Qin Ke's newly purchased domestic notebook was quietly waiting inside, with Python, Java, and C installed on it.

compilation environment.

Qin Ke took a deep breath, went through the design ideas of the entire operating system several times in his mind, and then began to write the first module, which is the core component-v0.1 version of AI.

A conventional operating system has at least tens of millions of lines of code. For example, Windows 7 has more than 50 million lines of code. The operating system codes of various versions of Linux vary in length, but the simplest one has nearly 20 million lines of code, and the complex one has nearly 20 million lines of code.

It is versatile and can exceed 70 million lines of code.

These are just the streamlined codes of the final version. If you include the scrapped, problematic, and streamlined codes, it is normal for the total number of lines to exceed 100 million.

This is simply not something that any programmer can write, let alone the countless tests and DEBUGs that go through after the code is written.

This chapter is not over yet, please click on the next page to continue reading! But in this "virtual scientific research experiment center", Qin Ke's hand speed is not limited by the body in the real world. No matter how fast his thinking speed is, he can almost code

How fast.

It only took him about 15 minutes to complete the entry of the v0.1 version of the AI ​​code, and then he spent nearly two hours making repeated modifications and improving it based on his own understanding.

DEBUG passed and compilation passed. Qin Ke was excited and ready to run the compiled AI program.

Suddenly he heard someone calling him: "Brother Ke, Brother Ke!"

Qin Ke's consciousness suddenly returned to the real world from the "Virtual Scientific Research Experiment Center". When he opened his eyes, he saw his roommate Wu Zhu calling him.

Wu Zhuhan smiled and said: "Brother Ke, it's time to get up."

Qin Ke looked at the time. It was already past seven o'clock. He really had to get up quickly to wash up and have breakfast: "Thanks, Zhuzi. Where are the others?"

"They left first. They said they saw you sleeping so deeply, so they asked you to sleep a little longer and asked me to wake you up. I have to clean the dormitory this morning and will leave later."

"Okay, thanks, Zhu Zhu, we'll go together later."

"Okay, Brother Ke."

Dormitories now have health inspections and ratings, and every morning there is a boy who stays and is responsible for cleaning. Wu Zhu is the most honest and the one who cleans the most conscientiously. He not only sweeps the floor, but also mops it, including the garbage

The barrels will also be flushed, and now Wu Zhu is also rushing to do Qin Ke's share of duty.

Qin Ke quickly changed his clothes and washed up. After sending a message to Ning Qingyun, he went downstairs with Wu Zhu.

"By the way, Zhuzi, have you made a preliminary decision about which university or major to apply for in the future?"

Now in the third year of high school, there are still five people in Qin Ke's dormitory. Li Xiong and Ge Zhixing are students specializing in sports and have made up their minds to apply for a sports normal college. Wang Lixin is a local and has also decided to apply for a finance major at a local university. Only Wu Zhu

Because he was usually dull and talkative, Qin Ke had never heard him mention it.

"I...I plan to go to Huahai Normal University. I will study whichever major is tuition-free."

"Is it because of the tuition fee, or because you want to be a teacher?" Qin Ke was a little surprised. Wu Zhu has an honest and dull personality. It should be quite suitable to be a researcher or coder. Being a teacher... First of all, he is a person in terms of language expression.

question.

"The tuition fee is on the one hand, but the main reason is that I want to return to our village as a primary school teacher after graduation. Now because of the poor salary, most of the teachers in our village primary school have left, and there are only three teachers left. Even the old principal in the village has lost his job."

He also teaches as a teacher, but he is almost 70 years old and cannot teach for more than a few years. If I don't go back to take over, the school will probably close down."

Wu Zhu looked into the distance with a worried look on his face: "My younger brothers and sisters are still studying there. If the primary school is closed, they and the children in the village will have to cross the mountains to another school seven kilometers away.

To go to elementary school, you have to walk for an hour and a half one way, and the roads are not easy to walk."

Qin Ke was stunned. He knew that Wu Zhu was born in a rural area, and in a rural area of ​​a third-tier small city. His family background was not very good. He was able to come to Yingyuan with free tuition because he had passed the "Elite Training Program" promoted by Yingyuan.

Those who study in private high schools are still very frugal.

After Qin Ke had a lot of money, he often quietly helped him out, such as buying a lot of snacks, meat and other snacks and bringing them back to the dormitory to eat together, so that he could share some of it with Wu Zhu without leaving any trace.

I just didn't expect that even the primary school in his home village was about to be closed.

Qin Ke thought of the rural primary schools he saw in the prairie. The conditions were indeed backward and difficult. No wonder the teachers were unwilling to stay.

This is not just a problem in the village in Wu Zhu’s hometown. This kind of thing is also happening in many poor and backward areas...

This is a problem that troubles even the country. What can Qin Ke, a mere high school student, do?

Qin Ke sighed lightly and patted Wu Zhu on the shoulder: "Choose the major you like, so that if you have the opportunity in the future, you can go to the city to work in the job you like. As for tuition fees, I can lend it to you at any time.

I can lend you four years of tuition."

"Brother Ke..." Wu Zhu's eyes were hot. How could he not know that Qin Ke had been secretly helping him? He was introverted and introverted, and was not good at communication. He was secretly ostracized and neglected when he was a freshman in high school. However, he met Qin Ke in the second year of high school.

After entering a dormitory, the situation changed. Qin Ke always looked after him and helped him integrate into the dormitory and the class.

Now when it comes to the fact that he and Brother Ke live in the same dormitory, which student in the school doesn't look at him differently? The students who bullied him in the first year of high school even avoided him when they saw him, for fear of his revenge.

"Hey, what are you so excited about? Let's go and have breakfast. Being able to eat and live together for two years is like an iron-clad brotherhood. Let's go, let's go."

Qin Ke dragged Wu Zhu toward the canteen, but he was thinking about a very grand and even dreamy plan.

If...if his artificial intelligence is really successfully researched and can be popularized, can it be supplemented by a robot body and play the role of a rural teacher?

At least in terms of knowledge transfer, artificial intelligence is qualified, but human teachers are needed to assist in ideological and psychological counseling. If the artificial intelligence technology is mature enough in the future, it can even take over delicate tasks such as taking care of children...

Ning Qingyun was already waiting for Qin Ke in the cafeteria. Wu Zhu was embarrassed to stay with Ning Qingyun, so he ate two steamed buns in a hurry and left with a blushing face.

Qin Ke mentioned this great goal to Ning Qingyun, and Ning Qingyun was also very interested: "This idea is great! Unfortunately, we have been afraid of realizing such a mature technology for a long time, and we may not be able to achieve it even if we spend our entire lives.

"

Qin Ke glanced at the "artificial intelligence" task on the system interface and said with a smile: "It probably won't take that long. Let's set the first small goal and write an operating system. You are very talented in aesthetics, I think

You will design and implement the UI, and the rest of the code will be mine. That lazy girl Qin Xiaoke can draw, so you can also ask her for help."

Ning Qingyun had never taken the "Operating System" course, so she naturally didn't know the exaggerated amount of code to write an operating system, so she nodded excitedly and accepted this "task".



Back in the classroom, the first period was mathematics. Naturally, Qin Ke couldn't listen to the lecture. He opened a programming book and pretended to think seriously about it, and then entered the "Virtual Scientific Research Experiment Center" with a sudden awareness.

The notebook on the table was still in the same state as before he left.

Qin Ke immediately ran the compiled program.

A command line interface immediately popped up on the screen interface. Oh, currently Qin Ke’s V0.1 version of AI only has the core code and has not yet made a UI interface.

"Hello, master, I am your operating system manager, please give me a name: _____"

Qin Ke thought for a while and entered:
To be continued...
Prev Index    Favorite NextPage