Replacing Android? Google's new system Fuchsia OS is about to be completed, and the advantages and disadvantages of C, C++ and Go are compared in detail

Replacing Android? Google's new system Fuchsia OS is about to be completed, and the advantages and disadvantages of C, C++ and Go are compared in detail

Fuchsia OS, an experimental operating system being developed by Google, has sparked a lot of speculation among the public, such as whether it will replace the Android system.

In fact, this is the third operating system developed by Google after Android and Chrome OS, and it is a "non-Linux" system that uses Google's new microkernel Zircon and uses Dart and Flutter to create a new UI.

According to the latest report from foreign media, the work on Fuchsia OS has been basically completed, and after going through Google's internal "dog food" testing process, it will be officially launched to the market.

What is Fuchsia OS?

[[317451]]

Although Google has not officially announced Fuchsia's strategic position in Google, a Bloomberg report speculates that Fuchsia is Google's attempt to use a single operating system to unify the entire ecosystem.

Fuchsia's goal is to be able to run on any suitable device such as smartphones, smart speakers, laptops, etc. based on Google's ecosystem. According to internal sources, Google plans to run Fuchsia on smart speakers and other smart furniture devices in the next three years, and then transfer it to other terminal devices, and eventually replace Android as the world's largest mobile operating system.

Replacing Android seems to be nonsense to many people, but it is not difficult to understand for those who know the background of Android, because Android has many drawbacks that cannot be solved.

In fact, Android was built long before the iPhone was released, and was originally used as an operating system for digital cameras. After the iPhone was released, Android was temporarily ported to mobile phones and has been used ever since.

However, with the development of the Internet, especially the gradual implementation of the Internet of Things and 5G, Google faces many challenges on Android. For example, most of the content of Android does not meet Google's future expectations for smart devices, such as voice interaction and pushing updates to devices in the entire Android ecosystem. The emergence of Fuchsia is to solve these problems.

But replacing Android is bound to be a slow and long process. Currently, many mobile phone and smart hardware manufacturers on the market are still very dependent on Android, which is a problem that Google has to consider.

If Google really starts to vigorously promote the marketization of Fuchsia, it will be a difficult turning point for the entire smart terminal market. Google will also face the risk of losing market share.

Fuchsia Editing Language Policy

A Fuchsia editing language strategy was published on Fuchsia's developer website. The document analyzes the advantages and disadvantages of the programming languages ​​involved in Fuchsia and provides strategies for the use of each language.

From this document, we can understand the design purpose, ideas and future development direction of the system. For example, its interpretation of C language is as follows:

advantage:

  • C is a widely used language. The language has easy-to-understand characteristics, has remained stable for a long time, and has been used to build similar systems in the past. The language has a mature toolchain and related developer tools;
  • C has a stable ABI, which allows the Fuchsia SDK to include precompiled binaries for reuse by end developers;
  • Many languages ​​can interoperate with C using the foreign function interface. Supporting C makes it easier for end developers to integrate these languages ​​with Fuchsia;

Our current end-developers are already using the language.

shortcoming:

  • Support for asynchronous programming is weak. ;
  • Programs written in the language often suffer from security vulnerabilities due to the language's lack of memory safety.
  • Programs written in this language often contain resource leaks because the language does not provide a way to automatically release resources;
  • Type safety is weaker than in C++. Simply recompiling some C code as C++ will often result in compiler errors that mask underlying bugs in the code.

Usage strategy:

  • Terminal developers support using C;
  • In the Fuchsia Platform Source Tree, new usage of C is discouraged;
  • C is approved for use in the Fuchsia Platform Source Tree: for low-level system programming, including programming in the kernel; and for defining ABI-stable interfaces to shared libraries and other system components;

Because the document contains a lot of content, I will not list them one by one. The link address of the document is at the end of the article. To sum up, it is roughly:

  • C: Supported for terminal developers
  • C++: Supported for terminal developers
  • Dart: Supported for non-driver-oriented terminal developers
  • Rust: Rust is not supported for terminal developers
  • Go: Approved only for use in the web stack
  • Python: Terminal developers do not support the use of Python
  • Fuchsia is about to enter the "dog food" test

In addition to the normal public testing phases (such as Alpha and Beta), Google also has many internal testing phases, such as "dogfood".

The "dog food" testing period means letting developers install and use the operating system themselves to find out the shortcomings and deficiencies through testing. This stage is set before ordinary user testing.

As an aside, Google's testing process is really interesting.

In addition to "dogfood", Google has quite a few internal testing phases. For example, when Google+ was still in the early stages of development, before conducting a company-wide "dogfood test", they did a small-scale "fishfood" test...

In addition, Google sometimes has a slightly larger "teamfood" testing phase between "fish food" and "dog food". "Dog food" is usually the last, almost company-wide internal test before production or public testing.

Over the past year, there have been signs that at least parts of Fuchsia OS have passed the "fish food" and "team food" testing stages and are about to enter the "dog food" stage of testing.

Although it has not been officially opened, many companies have already joined the Google Fuchsia ecosystem. According to the official release of the Fuchsia Chinese community, the list of 14 companies that can be announced at present is: Sony, Samsung, Huawei, OPPO, Vivo, Sharp, ARM, Qualcomm, MediaTek, Imagination Technologies, STMicroelectronics, Xiaomi, Tsinghua Unigroup Spreadtrum, and GlobalEdge Software.

From the above, we can see that China has the most companies, with 5 companies in mainland China alone. If MediaTek is included, there will be 6 Chinese companies, which is definitely the country with the most participation in the Fuchsia ecosystem. On the contrary, the United States, Google's home country, only has one company, Qualcomm.

How is the progress of domestic operating systems?

As we wrote above, many domestic companies have participated in the Google Fuchsia ecosystem. Does this mean they have given up on developing their own operating systems? No, it may just be a helpless move and a more generalized trial strategy.

For a long time, domestic operating systems have been in an awkward situation, especially the "domestic system fraud incident" in 2006, which caused the market and public opinion to drop to the bottom of the reputation of domestic operating systems. At that time, some industry insiders also said that the starting point of many domestic operating system manufacturers was only to obtain state subsidies, and they only "went through the motions" for actual research and development and commercialization.

However, with the changes in the global situation, the demand for mature and self-controllable domestic operating systems and self-developed chips has become urgent. In the past two years, we can also see that the market voice for domestic operating systems has become louder and louder, and with more and more attention and investment from domestic manufacturers, breakthroughs are gradually being made.

In 2020, can domestic operating systems truly achieve breakthrough progress and begin to gain a foothold? Let us wait and see.

<<:  Huawei HMS will cooperate with India's Indus OS to replace Google GMS with 400,000 APP applications

>>:  How to avoid remote work failures: DingTalk, WeChat for Work, or Lark, which one is more suitable for you?

Recommend

Analysis and application of commonly used brushes in Photoshop

Analysis and application of commonly used brushes...

In 2021, do brands still need to engage in private domain business?

Today, when traffic is not easy to acquire and re...

Seven strategies for mobile SEO in 2015

Introduction: With each new year, you must re-eva...

4 Effective Strategies to Increase App User Engagement

The definition of user engagement varies from pro...

Game live streaming platform: Douyu, Huya competitive product analysis report

In this article, the author attempts to analyze t...

In-depth understanding of Android Studio Sync process

1. Getting to know Sync We generally understand S...

Which servers are generally used for live streaming?

Which servers are generally used by live streamin...

How to do bidding promotion? Here’s a universal method!

Many readers left messages in the background sayi...

Will iOS 9 become more stable?

iOS has undergone tremendous changes since iOS 7,...

Analysis of the 618 Brand Marketing Sales Explosion Strategy

In 2022, there are 3.7 billion social media users...