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.

Technology

Huawei Earbuds tech could measure SpO2 and heart rate through ear

Published

on

By

Huawei Earbuds

Huawei is the first company to launch a SpO2 blood oxygen monitoring feature in smart bands and smartwatches and it also has one of the most accurate heart rate trackings but do you know that Huawei also has a tech patent for earbuds that could measure both of these right inside your ear?

An internal patent reveals that new Huawei earbuds tech could measure SpO2 blood oxygen and heart rate from within a user’s ears. Blood oxygen saturation (SpO2) is a useful indicator of a person’s health. It represents the percentage of hemoglobin in the blood that contains oxygen.

Details of the patent:

An embodiment of the present application provides an earphone, including an ear bag and a detection sensor disposed of in the ear bag, and the detection sensor is used to detect blood oxygen saturation and heart rate.

The ear bag includes a first contact part and a second contact part. When the earphone is worn on the ear, the first contact part contacts the inner bottom surface of the concha cavity of the ear, and the second contact part contacts the inner surface of the tragus of the ear.

Advertisement

A detection sensor is provided on at least one of the first contact parts and the second contact part where the ear bag is in contact with the skin of the ear, which can reduce the transmission distance between the detection sensor and the skin, and effectively improve the detection sensor’s ability to detect blood oxygen saturation and the accuracy of health indicator detection such as heart rate detection.

Moreover, the contact between the first contact part and the second contact part and the tragus and the concha cavity is relatively stable, and the earphone has good stability even in an active scene, which can further improve the detection accuracy.

Huawei earbuds spo2

Is this possible?

Yes, it’s the first question that triggers among the readers but after surfing through the web, there are a number of detailed articles that may help you to learn about optical heart rate sensor that is possible in earbuds (link) and In-ear SpO2 (link).

So the answer is yes, it’s possible to measure these two readings but we can’t confirm whether Huawei is planning to launch earbuds or wearables with this new patent. However, we do want to see it in action.

Advertisement
Continue Reading

Technology

How good is Huawei Nova 10 Pro 100W turbo charging?

Published

on

Huawei Nova 10 Pro 100W charging

Huawei Nova 10 Pro is a gigantic member of the Nova family. The device comes into existence with several exciting features that can level up the user experience. However, the most reflecting technology of Huawei Nova 10 Pro is its 100W turbo-charging.

Yes, the company has done some amazing work with the Nova 10 Pro charging segments. Although, the devices hold several features to explore. Yet, turbo-charging is something that has drawn my attention a lot.

I think the battery is a very crucial part of a device. While purchasing a new gadget, users often check the battery specifications and its charging abilities. And why not, it is something that will power up our device and will keep it reliable in the time ahead.

Remember, a good battery and excellent charging functions can stretch the phone’s life to a long duration. It’s not us, but Huawei also understands this phrase. Hence, it equipped the latest Huawei Nova 10 Pro with a 100W turbo-charging facility.

Advertisement

100W turbo-charging – how does it work?

The Huawei 100W turbo-charging experience is worth praising. When I tried this technique for the first time, the results were surprising.

Ultimately, when you enable the turbocharging feature, it begins adapting the battery’s abilities. After plugging in the charger, the power suddenly jumps to 87W. After 3 minutes of super-fast charging, the power drops to 57W.

At this range, it continues to charge the device and slowly falls to 30W. Thereafter, it begins the background charging for 2-3 minutes with 26W power. Within or less than 10 minutes, the high-tech charging power up your device completely.

Huawei Nova 10 Pro 100W charging

100W Turbo-Charging – good or bad?

Every technology has pros and cons. And so it follows on the charging as well. The turbo-charging may get affected by environmental factors. For instance, the temperature of your room, humidity, and more.

Advertisement

However, when we tried the turbo-charging effect under the ambient temperature of 30 degrees Celsius, the result was quite interesting.

  • At 18.50 – 53% of charging
  • At 18:53 – reaches 67%
  • At 19:00 – 89% of the charging
  • At 19:03 – 100% battery

Consequently, we can say that it takes 18-23 minutes to charge the device from 0 to 100 percent.

Notably, the battery capacity of Nova 10 Pro is only 4500mAh. In that aspect, turbo-charging operates in a very good manner. Moreover, it gradually increases and decreases the power level, so that your device may not get affected.

So far, Huawei has brought this technology with Nova 9 Pro smartphone. And now it’s playing wonders for users. With a 100W fast charger that offers turbo-charging, the device is good to go in your hands.

Any new charging technology is coming?

Well in recent times, we grabbed Huawei under a universal charging tech headline. As per the previous info, Huawei and some other companies have come across the table to find a universal solution for fast-charging adapters.

Advertisement

The new technique known as UFSC fusion (Universal Fast Charging Specification) will improve the charging facility. Further, it will contribute to the fast-charging ecosystem. It’s a simple way to unite different adapters with a revolutionary mechanism.

It’s believed, Huawei is doing great in terms of battery capacity. Even when the battery has low facilities, it is capable of boosting the entire functioning of the device. Well, a user most probably requires a phone that can survive for longer hours even when the battery is at a minimum percent. And the turbo-charging is perfectly offering these services.

Continue Reading

Technology

After Huawei and Apple, Samsung to bring Satellite Communication

Published

on

Huawei and its satellite communication are once again in the headlines. After Apple, it looks like Samsung is planning to follow Huawei and implement satellite communication technology on its flagship gadgets.

Satellite Communication technology is gradually becoming a trend in the market. In recent times, we come across several tech makers that are trying to adopt the respective feature for their devices or operating systems.

After Huawei, satellite communication enlisted Apple, Google (Android 14), and now Samsung. While Apple has already offered the benefits of satellite features with iPhone 14 series, Google and Samsung are in the preparation phase.

The latest information reveals that Samsung has associated with Iridium cooperation and is finalizing the satellite communication development for its next flagship smartphone – the Galaxy S23 series.

Advertisement

In our previous reports, we mentioned that Samsung is looking for a satellite connectivity provider other than Globalstar. This was so because Apple already merged with Globalstar for satellite features.

Thus, Samsung decided to take different steps in this tech concept. Eventually, it seems like the Korean tech maker has found the right companion to proceed with the new technology.

Samsung and Iridium

Speaking of the Iridium group, the cooperation utilizes the 66 low-orbit communication satellites. This framework offers effective voice and data communication services for users without any network hindrances.

On the flip side, the info states that Samsung has been working on satellite communication technology for the past two years. In the meantime, the company was dealing with antenna challenges as to how to make it a compact and power-efficient element.

Advertisement

Consequently, just like Huawei and Apple, Samsung’s main objective is to provide its users with immersive voice, messages, and image transmission facilities. And who knows, we could find the satellite tech with Galaxy S23 in the first quarter of 2023.

Satellite Communication – A long race!

Huawei is the first company to bring satellite communication features with the dynamic Mate 50 series. Ultimately, the feature is capable of relieving communication services even in low-area networks.

Thus, a user with Huawei Mate 50 smartphone can conduct calls, send a 19-20 characters text, scan a code 8-10 times, and generate trajectory maps and locations.

On the other hand, Huawei is making the corresponding feature more useful with the Mate 60. Yes, the internal tweaks suggest that the new version of this technology will enable two-way communications, sending voice messages, and making short voice calls as well.

Advertisement

It won’t be wrong to say that when it comes to technology and innovation, Huawei remains one step ahead.

Know More: Huawei Mate 60 may launch new Satellite Communication Features

Apple iPhone 14 series – SOS feature

Following Huawei, Apple also launched the iPhone 14 series with satellite features. It has implemented the Emergency SOS feature which combines with the software and connects antennas directly to the satellite.

As a result, this mechanism starts messaging functions with emergency services. Being an iPhone 14 user, you can use the feature under low-network or Wi-Fi coverage.

Advertisement

Android 14 is also on the list!

Yes, Android 14 has also appeared in the satellite communication headlines. The information states that Google is also making efforts and could initiate satellite features on the next coming Android version.

In the time ahead, we could see many competitors in this tech field. But it would be worth seeing which manufacturer will remain in the first position regarding satellite communication.

(Source)

Advertisement
Continue Reading