22 karma · joined Mar 13, 2019 (7y ago) · 5 submissions
comment 7y ago · link · parent
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.
comment 7y ago · link · parent
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..