Connect with us

Technology

ARK Compiler: Huawei’s self-developed Android application compiler – Explained

Published

on


“ARK Compiler” is a big bet for Huawei’s App management system, the company introduced it with the launch of P30 series and in a recent media briefing, the Huawei gave in-depth information of this new technology and its future in Huawei device ecosystem.

Simple definition:
Ark compiler can improve Android system operation fluency by 24%, response speed by 44%, and the smoothness of the third-party application up to 60%.

EMUI 9.1 Review: This should be EMUI 10



Now it’s time to dive deep into this subject:

During the EMUI software communication meeting in China, Dr. Wang Chenglu, President of Huawei Consumer BG Software Division, said this new technology is a breakthrough for Huawei and designed to work alongside EMUI. The official explained the details about this new revolutionary technology from the following.

Advertisement

To learn more about ARK compiler we’ve to understand what really the compilation process is:

Most of the Android platform applications are written in Java, but at the bottom what really makes the computer understand and execute the code is the machine language, which is a binary code consisting of “0” and “1”. Therefore, to run the program the high-level language (Java) must be transformed into machine language (Binary Code).

Generally, there are two ways to compile the language:

1. Introduce an interpreter to translate: which works by understanding a Java statement and translating it into machine code, letting the hardware execute it freely and called – Interpreting execution or Interpreter. This process does not filter the code, and the execution efficiency is very low + takes time.

2. The direct translation of high-level languages into machine language: There are two methods into this process:

A. AOT (Ahead of time) Compilation: Compiles the languages before running the program.

Advertisement

B. JIT (Just in time) Compilation: Compiles the languages in the run time or in real time.

Prior to Android 5.0, Android used high-level language code to interpreting execution + JIT but the provided very low efficiency while running a program. In the process of development, with the launch of Android 6.0, Android introduced Android Runtime (ART) virtual environment.

Currently, Android uses a comprehensive model compilation process with the combination of interpreting execution + JIT + AOT.



Advertisement

So, What is a Compiler?

A compiler is a tool or software that translate source code from a high-level programming language to a machine executable language and creates a single executable program out of all of the language files/resources.

How “ARK Compiler” is different from a regular compiler

APK Compiled with ARK Compiler directly translates high-level languages in the form of Machine Language, that runs into the phone without even the need of a virtual machine or the need a bridge to translate it for the phone. This saves a huge amount of resources during interpretation or switching between high to low-level languages and provides a high-performance boost to the application.

We can understand this whole process in two simple steps:

First of all, the compilation process of the ARK compiler supported program is completed on the developer side, in the process of program development, the developer directly compiles different programming languages into machine code, and creates an executable APK (Android Application).

Advertisement

When the app installed in the Operating system, it can directly identify and perform required actions without taking extra time and storage to interact and interpret language conversation with the virtual machine, providing a boost to the overall speed of the application.

Secondly, Ark compiler uses the memory recycling process that is used to recycle unused memory and restores it back to the system without even suspending the current background application, this helps a lot in app resuming and improves memory management. This could be taken as a way to bypass Android’s traditional virtual machine.

All of this process improves system operation fluency by 24% and the system response speed by 44%, as well as third-party application performance by up to 60%.

What are the difficulties for Huawei?

Dr. Wang Cheglu explains Compiler development requires a long-term research and development process, at the same times the developers of the compiler needs to be expert in high-level languages, familiar with various language frameworks as well as machine language.

Advertisement

Google has acquired such professionals for a long time and on a very large scale, that’s why there are many frameworks and applications developed by the firm. If you want to recreate a compiler from scratch that can adopt Google’s software ecosystem, the workload of that compiler has been to very huge, the Wang said.



How ARK compiler came alive?

According to Dr. Wang, Huawei’s interest in compiler development started in 2009, when its research and development program was originally initiated. It has inspired the first batch of the researcher in China and abroad to join and create a compilation group.

In 2013, Huawei self-developed and launched its first compiler for base stations, which is the official proposal of the Huawei compiler framework and the predecessor of ARK compiler.

Advertisement

In 2014, chief scientist of Huawei compiler technology established the main architecture of ARK compiler. In 2015, Huawei launched its own programming language. In 2016, the compiler and programming language lab was established. In 2019, Huawei officially launched the Ark compiler.

This whole development process took ten years and hundreds of researchers as well as hundreds of millions of dollars investment.

Dr. Wang said that the Android system optimized with Ark compiler is close to Apple’ IOS terminology. The next step of Huawei is to promote this new compiler into the Android ecosystem and to constantly update it to allow users to use more pure Android programmes.

Dr. Wang also announced that The Huawei Ark Compiler will be fully open sourced around November 2019, and invited the entire industry to work together to improve and enhance the Android performance experience.

Advertisement

Amy is our firmware and software specialist, she keeps her eagle eyes open for new software rollouts, beta programs, and other software related activities as well as new smartphone launch.

News

Huawei, Oppo, Vivo, Xiaomi launches new fast charging protocol

Published

on

Huawei fast charging protocol

Today, China Communications Standard Association conducted a mobile integrated fast charging conference in Beijing. Alongside, the organization announced Huawei and other brands in the first batch of fast charging protocol.

To understand this subject, let’s jump to the base of this information.

Huawei, Oppo, Vivo, and Xiaomi are the top four manufacturers in China. Undoubtedly, all these companies have provided some high-end products to consumers. However, these firms realized that they furnish such charging techniques that do not fit in the universal environment.

Consequently, Huawei and the three manufacturers came in contact with each other and decided to bring a new fast charging protocol for their consumers. As the next step, these companies have grabbed their places in the first batch of this solution.

Advertisement

Solely speaking of Huawei, the Mate Xs 2 is the first to get the compatibility certificate of fast charging solution. Besides, 11 more devices are eligible to impose this new charging facility on their surface. And in the time ahead, more smartphones will join this list.

Huawei fast charging protocol

Main Objectives of Fast Charging Protocol

Huawei bothers about users’ requirements. Hence, it decided to take a new step in the field of charging operations. Ultimately, the fast charging function will mainly work for five aspects.

  • Firstly, to improve the charging facility and expansion of fast charging ecosystem.
  • Second, it will promote the transformation of fast charging to an industrial scale.
  • Third, it will track the progress of universal fast charging standards and inspect the Chinese fast charging technology in global standards.
  • Fourth, To encourage more enterprises to accept the unified fast charging standard.
  • Fifth, to improve third-party certification, and identification work.

Huawei Nova 10 Pro is a good example of fast charging

In a smartphone, the battery is the most significant and crucial part. If the battery works wonders, then your phone can be the perfect partner for your enjoyment. Huawei understood this concept a long time ago. Hence, it brought the Nova 10 Pro adapter with the latest Super Turbocharging technology.

As the name reflects, the technology boosts the power of 100W in the phone at charging time. Accordingly, the phone gets a full charge within 20 minutes. Hence, we can say that the upcoming charging solution will also play a good role in the welfare of consumers.

Read More: UFSC fusion fast charging protocol led by Huawei is coming

Advertisement

Huawei fast charging protocol

(Source)

Continue Reading

Technology

UFSC fusion fast charging protocol led by Huawei is coming

Published

on

Huawei UFSC fast charging protocol

Huawei and some other popular brands in China (Oppo, vivo, and Xiaomi) have associated to bring the UFSC fusion fast charging protocol. Ultimately, this protocol will be a great help in providing fast charging compatibility among various tech giants.

The well-known Weibo tipster @DigitalChatStation has informed that the UFSC fusion fast charging protocol led by Huawei, Xiaomi, Oppo, and vivo is about to land. The protocol will improve the fast charging integration between different smartphone manufacturers and will make their charging solutions universal.

Huawei has been running in the race for technologies for a long time and understands the basic demands of users in this field. Among several essential features of a device, the users mainly look for the battery power and charging efficiency.

So far, the Chinese manufacturer has built the Super Turbocharging mechanisms that cure battery life anxiety with 100W of fast charging. However, every brand has its fast charging technology which often doesn’t work on a universal level.

Advertisement

Thus, to change this independent manner, all four companies decided to bring on the Universal Fast Charging Specification (UFSC) to the surface. The main supporter of this agreement is the Telecom Terminal Industry Association.

Huawei UFSC fast charging protocol

How UFSC fusion will prove a benefit?

Eventually, this technique will support effective fast charging and unites the adapters and terminals from various brands and manufacturers. At present, the general maximum power of this protocol is 40W which is just incomparable with the private Turbocharging (100W).

But, the second stage of this technology exhibits 65W. Hence, the availability of general power will gradually increase with time to a higher level. Alternatively, this initiative will solve the problem of incompatibility of inter-matching fast charging. Moreover, it will create a fast, safe, and adaptable charging scenario for users.

The tipster further shares another piece of news in this matter. Consequently, the integration of fast charging technology has been successfully implemented. Some of the major devices have begun imposing the new technology and soon the list will give space to more models.

Advertisement

Huawei UFSC fast charging protocol

[Source]

Continue Reading

Technology

Huawei and China Mobile brings new 5G call feature

Published

on

Huawei 5G call feature

Recently, the China Mobile Jiangsu group has associated with Huawei and introduced the new and first ever 5G call feature. The latest information states that this feature will ultimately prove a thoughtful implementation for facetime purposes.

We are living in the technology era where everything is stepping towards an advanced version. Whether we talk about smart gadgets or the latest services. Every company is trying to develop such traits in their products that can benefit the user to the utmost level.

In the series of display and communication services, facetime plays a very crucial role. It connects you with your loved ones in no time and makes every little moment very special. To enhance this outstanding function in a better way, Huawei and China Mobile (Jiangsu Group) have released the iconic 5G call feature.

What is this new 5G calling feature and how does it work?

According to the reports, the cooperations have imposed three significant functions to the 5G new calling scenario. These three functions are as follows:

Advertisement
  • Lighting up the screen
  • Barrier-Free Communication
  • Interesting Call

Huawei 5G call feature

Among all three functions, lighting up the screen is the most highlighted and unique feature. You would have noticed that while connecting a video call, the screen stops abruptly. This often ends up showing some of your disgusting expressions to the other person.

However, with the lighting up the screen function, you can choose the way how your screen should look. For instance, you can present a personalized avatar, audio, video, and any other picture instead of showing the real-time scenario on camera.

On the flip side, the second function allows you to make a voice call without any barriers. It also lets you synchronize your calls with facetime action simultaneously. Further, it enhances the interaction connection and enriches the video quality.

Besides, the new 5G call feature will let you efficiently use the visual menu, remote troubleshooting, customer authorization, voice control, one-click direct access, and quick processing even when you are on a call. Ultimately, this feature will bring a new way to deal with calls and connect to your friends and colleagues.

Advertisement

Although, there is no information regarding when we would be able to use this feature. Regardless, if this is the upcoming future of the communication field then users will definitely enjoy it.

(Source)

Continue Reading