Home Code Hermes as the Default · React Native

Hermes as the Default · React Native

by TM

Hermes, the JavaScript engine for React Native apps, is becoming the default engine in React Native 0.70. Hermes is designed for resource-constrained devices and optimizes start-up time, app size, and memory consumption. It is different from other JS engines because it compiles JavaScript source code to bytecode ahead of time, reducing the need for the interpreter to perform this step during app startup. Performance benchmarks of TTI (time to interactive), binary size, and memory consumption were conducted on Android and iOS using the Mattermost app. The integration of Hermes with React Native has been improved to ensure compatibility with each version of React Native. The iOS counterpart implementation for Intl, the ECMAScript Internationalization API, has also been completed. Further work on Hermes includes enabling developers to run the sampling profiler from the Chrome devtools UI and adding support for BigInt and WeakRef.

Source link

You may also like

Leave a Comment

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?
-
00:00
00:00
Update Required Flash plugin
-
00:00
00:00