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.
(Score: 2) by The Mighty Buzzard on Wednesday July 17 2019, @04:22PM (3 children)
That's just sick and wrong.
My rights don't end where your fear begins.
(Score: 2) by Freeman on Wednesday July 17 2019, @04:28PM
My favorite part:
It's like someone saw people using Scratch to teach kids how to program / logic and said, wow what a great idea! Then, proceeded to smash that into a product.
Joshua 1:9 "Be strong and of a good courage; be not afraid, neither be thou dismayed: for the Lord thy God is with thee"
(Score: 2) by sgleysti on Wednesday July 17 2019, @04:56PM (1 child)
What? You don't want a 3D-Printed Maker DIY JavascriptEverywhere™ Internet Of Things device?
My friend, you need a thneed. A thneed is a thing that everyone needs :)
(Score: 2) by The Mighty Buzzard on Wednesday July 17 2019, @06:53PM
Not until they port systemd to it.
My rights don't end where your fear begins.