Show HN: Proof-of-concept Node.JS-like interface with iOS 7 JavaScriptCore
1–10 of 15 posts
Re: Show HN: Proof-of-concept Node.JS-like interface with iOS 7 JavaScriptCore
#2Tell me what you think! :)
Re: Show HN: Proof-of-concept Node.JS-like interface with iOS 7 JavaScriptCore
#3Re: Show HN: Proof-of-concept Node.JS-like interface with iOS 7 JavaScriptCore
#4Neat! Is the iOS 7 JavaScriptCore V8? It can't be, though right? Safari?
The new thing on iOS 7 is that this framework is exposed as a public API you can code against. So you don't have to initialize a heavy-weight WebView just to execute Javascript.
Re: Show HN: Proof-of-concept Node.JS-like interface with iOS 7 JavaScriptCore
#5Neat! Is the iOS 7 JavaScriptCore V8? It can't be, though right? Safari?
Re: Show HN: Proof-of-concept Node.JS-like interface with iOS 7 JavaScriptCore
#6Re: Show HN: Proof-of-concept Node.JS-like interface with iOS 7 JavaScriptCore
#7very nice - keep up the good experimentation!
Re: Show HN: Proof-of-concept Node.JS-like interface with iOS 7 JavaScriptCore
#8Good work though. It's nice to see that I'm not the only person that has thought about a Node-like system built on JSC rather than V8. I wonder if you looked at the source for both V8 and JSC, and then concluded JSC would be much nicer to work with? That's what I did initially.
I wish I had time to pitch in right now...
Re: Show HN: Proof-of-concept Node.JS-like interface with iOS 7 JavaScriptCore
#9Neat! Is the iOS 7 JavaScriptCore V8? It can't be, though right? Safari?
Safari gets Nitro, Apple's JIT, but historically it has been unavailable to apps (via UIWebView) for security reasons. I'm unsure if the new Objective-C JavaScriptCore API gets Nitro.
Re: Show HN: Proof-of-concept Node.JS-like interface with iOS 7 JavaScriptCore
#10This is similar to something I've been wanting to do for quite some time. In contrast to your approach (binding JavaScriptCore at the Objective-C level) I want to start with the JavaScriptCore's command-line interpreter. It's currently a barebones interpreter. I would start by adding some missing primitives to the interpreter getting it closer to the V8 developer console (d8). Then work from there. Good work though.…
The thing that got me into hacking the prototype was the release of JSC as a public system framework on iOS7, eliminating the need to separately bundle JSC. So its not really a platform preference, I'm just trying to work with what's currently there...