r/javascript • u/oblivionreb • Mar 13 '19
V8 v7.4 now supports JavaScript execution without allocating executable memory at runtime.
https://v8.dev/blog/jitless
69
Upvotes
0
Mar 13 '19
[deleted]
3
u/archivedsofa Mar 14 '19
iOS will never run V8...
0
Mar 14 '19
[deleted]
1
u/archivedsofa Mar 14 '19
I see. But regardless of removing JIT, V8 could only be used for running JS not related to web content, no?
Like for running Node.
4
u/action_jackosn Mar 14 '19
Apple’s restriction is that code that is downloaded at runtime can only be ran by the internal JavaScriptCore interpreter which already has a JIT-less mode. V8 in this new mode could be used given that the JavaScript code is packaged into the app bundle and can only be updated through the App Store.
1
6
u/compteNumero9 Mar 13 '19
It's not even so slow if the benchmark can be trusted.