3 ms·
> What functionality can be left out of Hermes as compared to JSC/V8 in order to shrink its sie? At the moment Hermes isn't compatible with ES6 (it's missing a
by BinaryIdiot 7y ago
> What functionality can be left out of Hermes as compared to JSC/V8 in order to shrink its sie?
At the moment Hermes isn't compatible with ES6 (it's missing a lot of stuff). Perhaps, since part of the build step for RN anyway is transpiling, they don't need to provide all of ECMA's features. ES5 is more simple, less complex so I wonder if some performance can be had there.
But since they are building an engine strictly for making native apps using JS, there may be shortcuts or other stuff they can drop that JSC/V8 normally have to worry about but that's just speculation.
I'd love to see more info addressing your questions!