SoylentNews
SoylentNews is people
https://soylentnews.org/

Title    Facebook Open-Sources Hermes JavaScript Engine to Improve React Native Android App Performance
Date    Wednesday July 17 2019, @02:29PM
Author    Fnord666
Topic   
from the not-all-bad dept.
https://soylentnews.org/article.pl?sid=19/07/17/0610211

upstart writes:

Submitted via IRC for AnonymousLuser

Facebook open-sources Hermes JavaScript engine to improve React Native Android app performance

Facebook is continuing its open-sourcing spree with the launch of a new JavaScript engine designed to improve the performance of big apps on Android devices, the company announced today at the Chain React conference in Portland, Oregon.

Mobile apps are getting increasingly larger, which can pose problems — particularly for devices with limited storage or processing power. This is one reason many big tech firms, including Spotify, Uber, and Facebook itself, have taken to launching “lite” versions of their apps. But what if developers could improve the performance of their main apps by using an optimized JavaScript engine that reduces the download size and boosts startup performance?

That’s what Facebook set out to do first with its own suite of apps, for which it developed the Hermes JavaScript engine, which is now available on GitHub for any developer to use.

“To increase the performance of Facebook’s apps, we have teams that continuously improve our JavaScript code and platforms,” the company wrote in a blog post. “As we analyzed performance data, we noticed that the JavaScript engine itself was a significant factor in startup performance and download size. With this data in hand, we knew we had to optimize JavaScript performance in the more constrained environments of a mobile phone compared to a desktop or laptop.”

According to Facebook, Hermes helps improve three core app attributes: time-to-interact (TTI), which is the time it takes from launching an app to when it becomes fully loaded and usable; download size (Android .APK size); and memory utilization.


Original Submission

Links

  1. "upstart" - https://soylentnews.org/~upstart/
  2. "Facebook open-sources Hermes JavaScript engine to improve React Native Android app performance" - https://venturebeat.com/2019/07/12/facebook-open-sources-hermes-javascript-engine-to-improve-react-native-android-app-performance/
  3. "Chain React conference" - https://infinite.red/ChainReactConf
  4. "including Spotify" - https://venturebeat.com/2019/07/08/spotify-lite-for-android-users-launches-in-36-markets/
  5. "Uber" - https://www.uber.com/newsroom/uberlite/
  6. "Facebook itself," - https://play.google.com/store/apps/details?id=com.facebook.litehl=en_GB
  7. "Hermes" - https://hermesengine.dev/
  8. "available on GitHub" - https://github.com/facebook/hermes
  9. "Original Submission" - https://soylentnews.org/submit.pl?op=viewsub&subid=35029

© Copyright 2024 - SoylentNews, All Rights Reserved

printed from SoylentNews, Facebook Open-Sources Hermes JavaScript Engine to Improve React Native Android App Performance on 2024-03-28 08:57:04