Skip to content
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

Replace mttv8 with V8, or offer V8 as an option. #11

Closed
tchigher opened this issue Dec 22, 2019 · 4 comments
Closed

Replace mttv8 with V8, or offer V8 as an option. #11

tchigher opened this issue Dec 22, 2019 · 4 comments
Assignees

Comments

@tchigher
Copy link

tchigher commented Dec 22, 2019

1. The size of mttv8 has no advantage over V8.
2. Some large apps have already embeded V8, thus doubling the size (V8 and mttv8 together) if Hippy is introduced.
3. V8 is opensource but mttv8 is not.
4. V8's roadmap is public and updates more often and has a larger community than mttv8.
5. V8 now supports iOS(with jit-less on) but mttv8 can't keep up with this feature soon enough.
6. If replacement is not possible due to the fact that this framework is mainly used by Tencent apps, then perhaps you guys can make V8 an option, together with mttv8, and let the users decide which one to use.

@xuqingkuang
Copy link
Contributor

YES, a portable runtime is on the way, you may write the Hippy app with Dart or Lua in the future.

But most recently, the mttv8 from the X5 engine is the best and the only choice runtime, X5 is always following Chromium update, it's based on Chromium 66 currently(will update to Chromium 77 soon), and have a lot of optimized for Hippy.

  1. The size of mttv8 has no advantage over V8.

It's because mttv8 built for Android 4.0, it's the lowest Android version that Hippy support also.

@tchigher
Copy link
Author

  1. Some large apps have already embeded V8, thus doubling the size (V8 and mttv8 together) if Hippy is introduced.

But most recently, the mttv8 from the X5 engine is the best and the only choice runtime

So it seems like a problem that can't be solved in the near future...

@xuqingkuang
Copy link
Contributor

  1. Some large apps have already embeded V8, thus doubling the size (V8 and mttv8 together) if Hippy is introduced.

But most recently, the mttv8 from the X5 engine is the best and the only choice runtime

So it seems like a problem that can't be solved in the near future...

sad ...

@sandys
Copy link

sandys commented Dec 26, 2019

@xuqingkuang sorry to ask this question again - but is it possible to replace mttv8 with standard v8 and get hippy to work ?

even if it means lowered performance + increased size ?

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

No branches or pull requests

4 participants