React Native 0.64 With Hermes for iOS

0 or there could be a jvm like hotspot that can jit compiling the buy code down to machine code to accelerate execution so hermes is basically the same as
64 had made herms uploading much easier nice all right maybe just yeah yeah maybe just i think of course maybe for for your for some for some readers that you were referring to are listeners i guess and viewers yeah actually hello hello all of you um i think maybe like so aot literally just means ahead of time right and jit literally just means just in time so in in and of itself it doesn't imply what it is doing it's just about when you do it right so indeed and when like the simplest optimization that can be seen here with hermes when it comes to the bytecode
js however are usually very server-like their lifetime tend to be longer and they tend to do very repetitive work uh so and also they need tend to be running in a very beefy machine right so this is an ideal scenario for super highly optimized jit you pay the heavy warm up cost once and then you'll just stay with super fast code in the rest of the lifetime but javascript running rack native apps in contrast are usually more affirmative infirmary um and that's repetitive so during the lifetime of users interacting with your recognitive apps it's more likely that the user will click different buttons and a file very different event handlers so we did some static degree analysis and realized most the function in recognitive during the startup times are executed between zero or one time and even after startup it won't be like a heavy number crunching sort of workload but more like a periodically reacting to user interaction so legit doesn't improve the responsiveness there as well there is also memory concerned as being like usually recognitive apps or mobile apps i've seen people suggesting that for such memory constraint environment even you are using a jit capable engine you might want to turn off its
64 and that actually a feature facebook doesn't use in internally as well so it's built entirely entirely for the open source community and the intel works thanks for sex for microsoft the android intel support is very close to completion um we the plan is to release intel with recognitive 0.
65 for android so stay tuned for that uh as for what facebook use internally for internet internal rationalization we use fbt which is also recently open source so so the intel api is also for the community i kind of would like to do another podcast on fbt because i just googled it in any time when you said it and uh it's it's quite interesting um you know approach like like it's it's always an interesting um you know like concept when i see you know facebook having their own uh implementations of things that we would say are obvious and are
64 or something that has been released recently which is hermes uh support for ios and something that releases a part of react native 0.
64 but as a part of react native mac os which is hermes support for react native macos and i guess because i was involved in working on that and i know that my work on ios um wasn't the beginning it was actually mac os where it all started i guess allo it would be great um if we started with a bit more context on like the democrats work like like i have to say that i'm really impressed uh that microsoft has been investing in react native so much and that is you know supporting desktop mac os platform as well even though it's not you know their sort of environment it's windows of course but it's really great and so i'm just like curious about like uh the maka's support for hermes what's going on there and why it's hermes and not chakra for example and and how that relates to react native


0 or there could be a jvm like hotspot that can jit compiling the buy code down to machine code to accelerate execution so hermes is basically the same as
64 had made herms uploading much easier nice all right maybe just yeah yeah maybe just i think of course maybe for for your for some for some readers that you were referring to are listeners i guess and viewers yeah actually hello hello all of you um i think maybe like so aot literally just means ahead of time right and jit literally just means just in time so in in and of itself it doesn't imply what it is doing it's just about when you do it right so indeed and when like the simplest optimization that can be seen here with hermes when it comes to the bytecode
js however are usually very server-like their lifetime tend to be longer and they tend to do very repetitive work uh so and also they need tend to be running in a very beefy machine right so this is an ideal scenario for super highly optimized jit you pay the heavy warm up cost once and then you'll just stay with super fast code in the rest of the lifetime but javascript running rack native apps in contrast are usually more affirmative infirmary um and that's repetitive so during the lifetime of users interacting with your recognitive apps it's more likely that the user will click different buttons and a file very different event handlers so we did some static degree analysis and realized most the function in recognitive during the startup times are executed between zero or one time and even after startup it won't be like a heavy number crunching sort of workload but more like a periodically reacting to user interaction so legit doesn't improve the responsiveness there as well there is also memory concerned as being like usually recognitive apps or mobile apps i've seen people suggesting that for such memory constraint environment even you are using a jit capable engine you might want to turn off its
64 and that actually a feature facebook doesn't use in internally as well so it's built entirely entirely for the open source community and the intel works thanks for sex for microsoft the android intel support is very close to completion um we the plan is to release intel with recognitive 0.
65 for android so stay tuned for that uh as for what facebook use internally for internet internal rationalization we use fbt which is also recently open source so so the intel api is also for the community i kind of would like to do another podcast on fbt because i just googled it in any time when you said it and uh it's it's quite interesting um you know approach like like it's it's always an interesting um you know like concept when i see you know facebook having their own uh implementations of things that we would say are obvious and are
64 or something that has been released recently which is hermes uh support for ios and something that releases a part of react native 0.
64 but as a part of react native mac os which is hermes support for react native macos and i guess because i was involved in working on that and i know that my work on ios um wasn't the beginning it was actually mac os where it all started i guess allo it would be great um if we started with a bit more context on like the democrats work like like i have to say that i'm really impressed uh that microsoft has been investing in react native so much and that is you know supporting desktop mac os platform as well even though it's not you know their sort of environment it's windows of course but it's really great and so i'm just like curious about like uh the maka's support for hermes what's going on there and why it's hermes and not chakra for example and and how that relates to react native
The episode #5 is all about Hermes: Mike and his guests discuss its technical features, biggest selling points, and possible future developments. They start with the basics though, so at the beginning, you will find out what Hermes is and what it actually does.
Bringing the Hermes engine to iOS
- Hermes improvements to React Native apps in terms of three metrics: Time To Interactive (TTI), Application Size (APK), Memory consumption
- The “magic” behind Hermes - “Bytecode Precompilation” a.k.a. AOT
- The difference between AOT and JIT
- JIT JS engine pipeline vs Hermes pipeline
- The Hermes roadmap and plans for further improvements
Hermes support for MacOS
In the last part the focus shifts towards bringing Hermes to React Native MacOS. Since Microsoft recently added support for Hermes on MacOS, Elloy describes the process behind it, mentions the solutions considered prior to Hermes, and takes a quick look into the future of Hermes support for MacOS.
- What was the motivation behind adding support for Hermes on MacOS? Any plans for RN Windows?
- Were there any attempts to bring Chakra to run on macOS, to say, provide more unified experience across desktop platforms?
- On Apple devices, unlike Android ones, there were always less of performance and memory related issues when it comes to running React Native applications. What would be the selling point of Hermes in such a case?
This and much more you can find in the Episode #5. Pick your favorite platform and check it out!
We guide teams in optimizing React Native with the Hermes engine.
Learn more about
Hermes
Here's everything we published recently on this topic.
We can help you move
it forward!
At Callstack, we work with companies big and small, pushing React Native everyday.
React Native Performance Optimization
Improve React Native apps speed and efficiency through targeted performance enhancements.
React Native Development
Hire expert React Native engineers to build, scale, or improve your app, from day one to production.
