Skip to content

What exactly is the new threading model in practice? #197

Answered by cortinico
ororsatti asked this question in Q&A
Discussion options

You must be logged in to vote

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.

I thought this would be a magic solution for the performance issues

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,

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ororsatti
Comment options

Answer selected by cortinico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants