Why is the running environment of Wechat Mini Game JavaScriptCore, on iOS and V8 on Android?

Why is the running environment of Wechat Mini Game JavaScriptCore on iOS and V8 on Android ? Why use two JS engines ?

anyway, Wechat Mini Game running environment requires the ability to interpret JS code , while JavaScriptCore or V8 have implemented most of the ECMAScript standards, is it necessary to use two engines at this time? what is the reason for Tencent to do this?

Mar.02,2021

because IOS does not have a V8 engine that can be used


in conjunction with upstairs answers. And later find some information: the chrome Google uses in IOS does not use the JS engine V8 . Because of IOS ecological problems, chrome of IOS has not been open source for a long time, and Google has only recently opened up chrome of IOS . So Wechat Mini Game runs in a different environment on iOS and Android . You can learn more about IOS version of chrome . Welcome to add.

Menu