6 ms·
> Gravity has been developed from scratch for the Creo project in order to offer an easy way to write portable code for the iOS and Android platforms. ... so,
by ivoras 6y ago
> Gravity has been developed from scratch for the Creo project in order to offer an easy way to write portable code for the iOS and Android platforms.
... so, now we CAN have scriptable / interpreted code in iOS?
- ricardobeat 6y agoYou always could, any of the thousands of React Native, Flutter or NativeScript apps are running a VM. What you can't do is run code that the user provides, or use it to sidestep app store updates (with plenty of exceptions for both rules).
- drdeca 6y agoThere are iOS apps that allow you to edit and run python code. The amount that it can do with the OS and stuff is fairly locked down, but in the version I used to have installed (incompatible with iOS 11, so I can’t use it anymore) iirc even allowed using import os to use some shell commands (though, of course, the shell was very locked down).
- klodolph 6y agoYou also can’t mprotect PROT_EXEC, which means no JIT.
- _bxg1 6y agoI think what you're thinking of is the JavaScript JIT situation. A JIT compiles and executes arbitrary, new, native code at runtime. A regular interpreter doesn't create native code.