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's around ten o'clock in the morning, but it's so dark outside the house, it looks like evening.
The howling wind and the heavy rain were like splashing water. You could tell at a glance that a typhoon was coming.
Wang Chen, who had lived inland in his previous life, encountered a typhoon for the first time.
I was quite excited at first, but looking at the situation outside the house, I couldn't help but worry about whether the house on my island could be sustained.
But after all these years, the house is still in good condition although it is dilapidated.
At first glance, it seems that typhoons were specifically considered during the design.
Besides, it doesn't seem to matter even if the roof is ripped off. I originally planned to overturn it and rebuild it once I got rich.
At most, it will be a little troublesome if I don’t have a house to live in next time I land on the island.
I couldn't help but yawn, and took over the instant noodles that had just been brewed on the coffee table next to me. After taking a delicious bite, I turned on the Soy Milk Live Broadcast to watch the young lady dance and eat.
In total, I have been in Shanghai for almost two months.
It was early July when I came here, and now it's almost the end of September.
I didn’t go out much to play, I basically stayed at home playing with software.
Two months later, although it has not been fully developed, the general framework has taken shape.
The optimized core code is basically OK, but some logical operations and subsystems are still under development.
It is estimated that it will be completed in about another month.
In fact, the development of this software is not difficult, mainly because Wang Chen is not good at it.
Although I have a lot of programming skills in my mind, I can't master it.
There are often some strange bugs caused by hand disabilities.
I even almost burned the phone I was using for testing once.
Because this software works on the underlying framework and has extremely high permissions, Wang Chen must also ensure that the software does not have malicious bugs.
Especially when building a framework, you basically have to check it three times before typing a line of code.
After a subsystem is developed, it must be tested back and forth several times.
Although it is troublesome, the effect is still there.
At least so far, Wang Chen has not found any major problems with the framework.
And during the research and development, Wang Chen also discovered that this Hongmeng system really has something to offer.
It is indeed the trump card of the flower factory, and it has completely suppressed the old mobile phone system Android in all aspects.
First of all, it is clear that the genes of Hongmeng system must be better than Android system.
After all, the emergence of Hongmeng system is to solve the loading requirements of IoT hardware devices. Its kernel is not a pure Linux system, but integrates the Hongmeng microkernel, Lite OS system and Linux kernel.
To put it simply, Hongmeng is theoretically compatible with all Android software.
And this is precisely the key to opening up the market.
Moreover, Hongmeng’s system code is far less bloated than Android.
Wang Chen roughly calculated that the current code of the Android system has exceeded 100 million lines. The entire system is too large, and only less than 8% of the codes are actually commonly used. The number of key lines of code of the Hongmeng system is 4.6 million, which is quite
10% to 30% of Android.
This may also be because Hongmeng has just been released and has not gone through so many iterations and updates.
But it is undeniable that the current Hongmeng system is definitely much smoother than Android.
This is the inherent advantage of the new system.
There is no way it is genetically better than you, and it has already surpassed Android in terms of framework.
This is also the reason why Wang Chen chose Hongmeng system as his target.
Android is indeed a bit out of date.
Not to mention that Hongmeng system can support smart home devices such as mobile phones, smart watches, computers, smart screens, etc. at the same time.
The Internet of Everything is something that even Android cannot catch up with.
Not to mention Android, not even IOS. Their systems are basically only suitable for mobile phones. If used on other devices, it would be a disaster.
What is said on the internet that Android can basically take a break compared to Hongmeng.
Judging from the current situation, Android is basically hopeless, and Google itself has already begun to develop a new system.
Fuchsia OS is the future rival of Hongmeng. Although Android and other products have been brilliant in the past, the framework is too old and cannot stand up, so it will be eliminated sooner or later.
But these have nothing to do with Wang Chen.
The only good thing about Hongmeng's good prospects is that Wang Chen can open his mouth wider when he comes back.
In particular, the Internet of Everything will test the underlying logic of the system even more.
Can’t everyone hold a flower factory flagship?
Optimization is a major focus in determining future development prospects.
If the optimization is not done well, the more developers join now, the greater the burden will be in the future.
Maybe it will become the next Android.
After watching the young lady for a while and having lunch, the heavy rain outside didn't seem to give me a break at all.
After casually forking the live broadcast platform, Wang Chen opened the software he wrote.
The progress bar above is almost complete.
On the laptop next to me, there is also a small software running constantly.
It was a simulated Hongmeng 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, etc.
It is equivalent to simulating the situation of users using mobile phones at high intensity.
The optimization software on the host side has also been integrated into Hongmeng’s underlying framework and is doing its best to maintain the normal operation of Hongmeng.
The computing power given by Wang Chen was only the size of a medium-sized mobile phone in Huachang.
Such a large number of switches running software will pose a great challenge to the control and use of computing power.
The entire test platform has been running for more than two hours, and a large amount of background data has been collected.
Crossing his hands and shaking his wrists, Wang Chen sifted through them and listed all the system red reports, ready to click on them one by one.
Some of these are normal red reports, such as the computing power exceeding the mediation range.
This kind of problem cannot be solved by optimization. After all, there is a limit to hardware problems no matter how optimized they are.
Wang Chen mainly checked those logic errors.
You must optimize the logic as much as possible before delivering the goods yourself.
Not to mention, after inspection, there are more than thirty lines of code that can be optimized.
Although the changes are not big, they add up to a small amount and after optimizing every bit, they can produce quantitative changes at the end.
I don’t have high requirements. If I can improve the running speed of the old model mobile phone of the flower factory by about 40%, it will be OK.
After all, this is just pseudo-artificial intelligence, and it is logically impossible to defy nature.
Besides, just with my current optimization framework and deployment logic, I would probably not be able to figure it out within a few years of leaving it to the flower factory.
It’s enough to make money by selling it yourself.
Chapter completed!