News for hackers. Stuff that matters.
Re:Hermes, a JavaScript engine optimized for React Native by afavour on Wednesday March 24, 2021 @12:30PM (#26569398)
Arguably the primary React Native performance issue is that JS is single-threaded. Does React Native provide any useful tools for that?
Re:Hermes, a JavaScript engine optimized for React Native by nicoburns on Wednesday March 24, 2021 @05:15PM (#26573029)
That's not the primary issue. The main issue that there isn't (or wasn't until recently) a fast, low overhead way to communicate between JavaScript and native code. That's changing with JSI, and I think we might find React Native gets a lot faster in practice if they ever complete the work.
Re:Hermes, a JavaScript engine optimized for React Native by spullara on Wednesday March 24, 2021 @02:25PM (#26571114)
You can run things in workers:

https://github.com/devfd/react-native-workers