Skip to content

React-Native V8 compatibility #2875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
neolitec opened this issue May 12, 2020 · 10 comments
Open

React-Native V8 compatibility #2875

neolitec opened this issue May 12, 2020 · 10 comments

Comments

@neolitec
Copy link

neolitec commented May 12, 2020

Goals

Hi!

I'm currently working on a project where we would like to use Realm but this project is using the v8 engine (https://github.com/Kudo/react-native-v8) and when I run the app, Realm seems to look for libjsc.so.

Is there a plan to get Realm working with React-Native using the v8 engine?

Version of Realm and Tooling

  • Realm JS SDK Version: 5.0.5
  • React Native: 0.62.2
  • Client OS & Version: Android 10
  • Which debugger for React Native: Flipper
@kneth
Copy link
Contributor

kneth commented Jun 25, 2020

@neolitec We don't support V8 on React Native but it is a pretty cool idea. We do support V8 (node.js) but we need to research a bit to see if we can reuse it.

Thanks for bringing it to our attention.

@Sine99
Copy link

Sine99 commented Oct 31, 2020

@kneth .. any update on this. I can still see it is not supported as my app is crashing in debug mode

@kneth
Copy link
Contributor

kneth commented Nov 2, 2020

@Sine99 No update to share. We haven't prioritized yet as we believe our resources are used on other issues.

@camilossantos2809
Copy link

Any updates? As there is still no compatibility with Hermes, this may be a good alternative. Realm performs well even on older devices, but in the general context of the project it is important to have a more performance JS engine for rendering. In some cases this can be a negative factor in adopting Realm in a project.

@ianpward
Copy link

This is not currently in our roadmap but feel free to make a feature request here - we review this at every quarterly review
https://feedback.mongodb.com/forums/923521-realm

@camilossantos2809
Copy link

Ok, thanks!

This is the link to the feature request, in case anyone wants to follow: https://feedback.mongodb.com/forums/923521-realm/suggestions/42533812-react-native-v8-compatibility

@NiuGuohui
Copy link

We gave up Realm because of JSC:confused:

@allen-hsu
Copy link

Have any update?

@kneth kneth mentioned this issue Feb 14, 2023
@kneth
Copy link
Contributor

kneth commented Feb 14, 2023

We don't have any immediate plans to support React Native V8.

We are in the middle of a major rewrite of the SDK (see #5416 for more), and once it lands, the theory is that it will be easier (but not trivial) to add support for new engines. It could be interesting if our community would like to pick up V8 support.

@allen-hsu
Copy link

hi @kneth how to pick up ? and I can told you why we need v8 support, Although Hermes has been launched for a long time, except that its startup speed is better than JSC, other computing performance is terrible, and v8 is very good in all aspects, especially in crypto apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants