3 ms·
Neat, I didn't realized Apple started allowing interpreted code in developer tools [1][2]. It's surprising they even allow accessing the filesystem, etc. 1. ht
by tlrobinson 8y ago
Neat, I didn't realized Apple started allowing interpreted code in developer tools [1][2]. It's surprising they even allow accessing the filesystem, etc.
1. https://www.theregister.co.uk/2017/06/07/apple_relaxes_developer_rules/ https://www.theregister.co.uk/2017/06/07/apple_relaxes_devel...
2. Aside from the built-in JavaScript engine in WebKit which was always allowed?
- kccqzy 8y agoApple has always allowed interpreted code, apart from a brief period in the pre-iOS 4 era. What was new in 2017 was that apps can download that interpreted code on its own, instead of being user input. It's not surprising at all, if you are in the iOS ecosystem and you are a power user/tinkerer. Pythonista is just one of those apps. IIRC I had quite some fun running Haskell on my iPad about five years ago.
- tinus_hn 8y agoThere is a limitation on JIT compiling though which does not apply to the built in JavaScript vm.
- johncolanduoni 8y agoIt does unless you’re running it in another process as part of a WebKit instance, via WKWebView or SFSafariViewController. Using JavaScript core directly still limits you to interpretation.