Chapter 4 Not bad Hongmeng
"Boom..."
With a muffled thunder in the sky, Wang Chen, who was typing on the keyboard at home, couldn't help but look out the window.
It was about ten o'clock in the morning, but it was dark outside, and it looked like evening.
The howling wind and the pouring rain made it clear at a glance that it was a typhoon.
Wang Chen, who had been living inland in his previous life, encountered a typhoon for the first time.
I was quite excited, but looking at the posture outside the house, I couldn't help but worry a little about whether the house on the island could bear it.
But after so many years, the house is still strong although it is broken.
At first glance, it is that the typhoon was specifically considered when it was designed.
Besides, even if the roof is lifted, it doesn't matter, I originally planned to overthrow it again if I had the money.
At most, it will be a little troublesome to go to the island next time you don't have a house to live in.
couldn't help yawning, took the freshly brewed instant noodles on the coffee table next to him, and after taking a bite, he turned on the soy milk live broadcast and prepared to watch the young lady dance and eat.
Counting that he has been in the magic capital for almost two months.
It was the beginning of July, and now it's almost the end of September.
I didn't go out to play much, and I basically stayed at home tossing software.
Two months later, although the development has not yet been completed, the general framework has been formed.
The core code of optimization is basically OK, and some logical operations and subsystems are still under development.
It is estimated that it will be completed in about a month.
In fact, the development of this software is not very difficult, mainly because Wang Chen can't do it himself.
Although I have a lot of programming skills in my head, I can't do it if I know how to do it.
I often get some strange bugs because of my hand.
There was even a time when I almost burned the phone I used for the test.
Because this software acts on the underlying framework and has extremely high permissions, Wang Chen must also ensure that the software has no vicious bugs.
Especially when building a framework, you basically have to check three times to type a line of code.
Once a subsystem has been developed, it has to be tested back and forth several times.
Although it is troublesome, the effect is still there.
At least so far, Wang Chen has not checked out any major problems with the frame.
And in the research and development, Wang Chen also found that this Hongmeng system is really something.
It is worthy of the killer feature of the flower factory, and all aspects have completely suppressed the old mobile phone system Android.
First of all, it can be clear that the genes of the HarmonyOS system must be better than the Android system.
After all, the emergence of the HarmonyOS system is to solve the loading requirements of IoT hardware devices, and its kernel is not a simple linux system, but integrates the HarmonyOS microkernel, Lite OS system and linux kernel.
To put it simply, HarmonyOS is theoretically compatible with all Android software.
And this is precisely the key to opening up the market.
And HarmonyOS's system code is nowhere near as bloated as Android's.
Wang Chen roughly calculated, the current code of the Android system has exceeded 100 million lines, the whole system is too large, and the really commonly used code is less than 8%. The number of key lines of code in the HarmonyOS system is 4.6 million lines, which is equivalent to 10% to 30% of Android.
This may also be because HarmonyOS has just come out and has not gone through so many iterations and updates.
But it is undeniable that the current HarmonyOS system is definitely much smoother than Android.
That's the inherent advantage of the new system.
There's no way that genes are better than you, and it's already surpassed Android from the framework.
This is also the reason why Wang Chen preferred the HarmonyOS system as a target.
Android is indeed a bit out of step with the times.
Not to mention that the HarmonyOS system can support smart home devices such as mobile phones, smart watches, computers, and smart screens at the same time.
The Internet of Everything is even more inaccessible to Android.
Not to mention Android, not even IOS, the system of the two of them is basically only applicable to mobile phones, if you use it on other devices, it will be a disaster.
What is said on the Internet, Android can basically rest when it beats Hongmeng.
Judging from the current situation, Android is basically hopeless, and I don't see that Google itself has begun to develop a new system.
Fuchsia OS is the opponent of Hongmeng in the future,Although Android or something has been brilliant before,But the frame is too old,It's a matter of time before it's eliminated。
However, these have nothing to do with Wang Chen.
The only advantage of Hongmeng's good prospects is that Wang Chen can open his mouth a little wider when he turns around.
In particular, the Internet of Everything tests the underlying logic of the system.
You can't have everyone holding a flower factory flagship, right?
Optimization is a key factor in determining future development prospects.
If the optimization is not done well, the more developers who join now, the greater the burden in the future.
Maybe it's going to be the next Android.
After watching the young lady and having lunch, the heavy rain outside seemed to have no feeling of resting for a while.
casually crossed off the live broadcast platform, and Wang Chen clicked on the software he wrote again.
The previous progress bar above is almost gone.
On the notebook next to him, there is also a small piece of software running non-stop.
It was an analog HarmonyOS system with nearly a hundred third-party software installed in it.
Under the control of small software, it is opening and closing irregularly, switching various operating modes and so on.
It is equivalent to simulating the user's use of the mobile phone at a high intensity.
The optimization software on the host side has also been connected to the underlying framework of Hongmeng, and is doing its best to maintain the normal operation of Hongmeng.
The computing power given by Wang Chen is only the scale of a medium-sized mobile phone in Huachang.
Such a large number of switching and running software is a great test for the domination and invocation of computing power.
The entire test platform has been running for more than two hours, and a basket of data has been collected in the background.
With his hands crossed and his wrists, Wang Chen sifted through it, listed all the system reds, and prepared to click in one by one to take a look.
Some of these are normal dividends, such as computing power beyond the scope of mediation.
This kind of optimization can not be solved, after all, no matter how much the hardware problem is optimized, there is a limit.
Wang Chen's main check is those logic errors.
It is necessary to optimize the logic as best possible before delivering it yourself.
Not to mention, after a check, there are more than 30 more pieces of code that can be optimized.
Although the changes are not big, they add up to a lot, and after a little bit of optimization, the accumulation of the latter can also produce quantitative changes.
I don't have high requirements, and it is OK to be able to increase the running speed of about 40% of the old model mobile phone of the flower factory.
After all, this is just pseudo-artificial intelligence, and it is logically impossible to defy the sky.
Besides, just my current optimization framework and deployment logic, I can't think of it in a few years after handing it over to the flower factory.
It's enough to sell it for your own money.