-
I have been experimenting with JSI and turbo modules lately. Now,, that kinda makes sense, if we are no longer running things over a bridge, and accessing the cpp functions from the js thread, it makes sense if they are running in the js thread. I'm just not sure, and the described treading model is pretty vague. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
What exactly is your question @ororsatti ? With the New Architecture, you can access JSI which lets you practically "share memory" between JS and C++. That allows for performance critical applications to don't do message passing through the bridge, which ends up eating up a lot of performance.
Nope, the New Architecture is not a "magic solution" in the sense that you just turn in on and have performance gains out of the box. You need to adapt your code to work with JSI. |
Beta Was this translation helpful? Give feedback.
What exactly is your question @ororsatti ?
With the New Architecture, you can access JSI which lets you practically "share memory" between JS and C++. That allows for performance critical applications to don't do message passing through the bridge, which ends up eating up a lot of performance.
Nope, the New Architecture is not a "magic solution" in the sense that you just turn in on and have performance gains out of the box. You need to adapt your code to work with JSI.
A lot of popular libraries have already been adapted to use JSI and create experiences which were not possible without JSI/New Architecture (for example, …