| Functionally, this appears to be identical to JavaScriptCore's longstanding C bridge [1]. If Objective-C isn't your preference, there's nothing stopping you from calling into the C bridge from C++ or just plain C. On iOS, developers have had to compile their own version of JavaScriptCore to use this API. That's the basis for HTML5 game engines like Impact [2], and some HTML5-to-Objective-C middleware platforms. Unfortunately, until Apple says otherwise, this version of JSC is still subject to Apple's App Store review guidelines [3]. Thanks to guideline 2.8, you can't have your app, running JSC, execute any JavaScript that doesn't ship within the bundle of your app. I'd like to see that rule change, someday. Exposing this Objective-C API in a future iOS release isn't going to change the status quo. [1] - http://developer.apple.com/library/mac/#documentation/Carbon... [2] - http://impactjs.com [3] - https://developer.apple.com/appstore/guidelines.html |