Wednesday April 27, 2011

"Native" Javascript on iOS

Dominic Szablewski writes about his raw use of Apple’s JavaScriptCore interpreter. Rather than run Javascript into a UIWebView like Phonegap or Titanium, he compiled Apple’s open source interpreter right into his app. He implemented a Canvas API-like bridge to OpenGL and rendered audio with OpenAL.

And if you’re wondering if this is legit in Apple’s eyes, his two games using this technique have just been approved in the App Store. I really like where this is going.