Log in
Sign up
See new Tweets

Conversation

Andy Matuschak
@andy_matuschak
·
Jan 25, 2015
Also considering using JS as the lingua franca but perf is likely unacceptable given non-JITted JavaScriptCore. (cf https://github.com/Khan/JSContextBenchmarking…)
github.com
GitHub - Khan/JSContextBenchmarking: How fast is iOS 7's new web-less JavaScript API?
How fast is iOS 7's new web-less JavaScript API? Contribute to Khan/JSContextBenchmarking development by creating an account on GitHub.
4
1
8
Ryan Brown
@rbrown46
·
Jan 25, 2015
@andy_matuschak
a headless WKWebView + WKScriptMessageHandler wouldn’t work? Wonder how bad the IPC overhead is tho
stackoverflow.com
Call JavaScript function from native code in WKWebView
Using a WKWebView in iOS 8, how can I run a JavaScript function from the native side or otherwise communicate from the native side to JavaScript? There doesn't appear to be a method akin to UIWebVi...
1
1
Andy Matuschak
@andy_matuschak
Replying to
@rbrown46
@rbrown46
Might work, and then we could share with the web client. But the interfaces would be much worse than e.g. C++. :/
6:11 PM · Jan 25, 2015·Twitter for Mac