Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is Google's new way to run Android/Linux applications on Fuchsia?

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Google proposes a new way to run Android/Linux applications on Fuchsia. For this problem, this article details the corresponding analysis and solutions, hoping to help more small partners who want to solve this problem find simpler and easier ways.

Many years ago, foreign media have revealed that Google is developing a Fuchsia operating system that is obviously not based on Linux. Interestingly, the latest recommendations for Fuchsia OS suggest that this "non-Linux" OS still considers how to run Android / Linux apps "without special modifications" on top. Obviously, for an OS built from scratch, the biggest problem in the early stages of promotion is the smooth transition of the application ecosystem.

As the successor to Chrome OS / Android mobile operating system, it can theoretically meet the requirements of running Fuchsia native apps and Android / Linux apps simultaneously.

For example, Linux applications can be run in a virtual machine environment using a Chrome OS-like encasing scheme. And with the arcvm project, Chrome OS can even run Android apps with the same policies.

But virtual machine solutions are not without their drawbacks. First, file management can get tricky between Fuchsia hosts and Android clients.

Fuchsia is also a more security-focused mobile operating system, designed from the beginning to keep applications as isolated from each other as possible.

In order to maintain isolation between Linux applications, Fuchsia may need to run multiple virtual machines, but this in turn reduces the overall performance experience of the system.

Fuchsia hierarchy (Figure via Malwarebytes)

This week, we saw an alternative solution for Fuchsia running non-native (e.g. Linux) apps on Google Source (Portal).

In this proposal, the developers believe that Starnix can help the system convert between Linux kernel instructions and Fuchsia Zircon kernel instructions.

Based on this, Linux programs can still "run normally" on the Fuchsia platform. If you have a deep understanding of how Linux works, the complete Starnix-based advice is quite interesting.

One of the most interesting is how developers plan to leverage Starnix, especially in the absence of recompilation capabilities.

Android apps already include native code modules compiled for Linux. And in order to run the software on Fuchsia, we also need to be able to run binaries without modifying them.

From the code suggestions, Google may also be planning to make Fuchsia able to support Android applications in depth. But in the longer term, Starnix is clearly just a stopgap measure.

About Google's new way to run Android/Linux applications on Fuchsia is what the answer to the question is shared here, I hope the above content can be of some help to everyone, if you still have a lot of doubts not solved, you can pay attention to the industry information channel to learn more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report