schuay | 7 years ago | on: JIT-Less V8
schuay's comments
schuay | 7 years ago | on: JIT-Less V8
schuay | 7 years ago | on: JIT-Less V8
schuay | 7 years ago | on: JIT-Less V8
(Also, in many common real-world workloads the performance regression is minimal.)
schuay | 7 years ago | on: JIT-Less V8
2.5.6 Apps that browse the web must use the appropriate WebKit framework and WebKit Javascript.
Using V8 to execute JS without 'browsing the web' sounds okay.
And perhaps also this, although it is not clear to me whether downloaded JS scripts are considered 'code':
2.5.2 Apps should be self-contained in their bundles, and may not read or write data outside the designated container area, nor may they download, install, or execute code which introduces or changes features or functionality of the app, including other apps. [...]
https://developer.apple.com/app-store/review/guidelines/
Anything else? I'm curious to learn more..
Theoretically yes, but this is not implemented. It should not be too hard to drastically reduce binary size with a build-time flag.
> I assume this also doesn't support WASM when the JIT is disabled (or rather, when you can't write to executable memory), but if it did it could be a neat way to write decently performant software for tiny systems with just some JavaScript "glue".
Correct, wasm is currently unsupported. Interpreted wasm is possible in the future, but would likely be very slow.