4 ms·
Spidermonkey easily ports to the iPhone as well. I can definitely say that developing an app in JavaScript is far more pleasant than Objective-C. Unfortunately
by newobj 17y ago
Spidermonkey easily ports to the iPhone as well. I can definitely say that developing an app in JavaScript is far more pleasant than Objective-C. Unfortunately I'm not aware of any real bindings yet, you may need to roll your own to something like Cocos2d.
- dchest 17y agoIf I'm not mistaken, JSCocoa runs on iPhone http://inexdo.com/JSCocoa http://inexdo.com/JSCocoa
- newobj 17y agoJust to be clear, I was talking about Cocos2d (http://code.google.com/p/cocos2d-iphone/ http://code.google.com/p/cocos2d-iphone/), a game programming library for the iPhone, not Cocoa. Although, I suppose JSCore might be a little easier to bind to things in.
- parmanoir 17y agoJSCocoa does run on the iPhone. A warning, though : contrary to OSX, JavascriptCore is a private framework on the iPhone. So if you use JSCocoa in an iPhone app it might get rejected by the App Store.
- sunkencity 17y agoYMMV - for me Objective-C is the most pleasant OO language I've ever tried. Speedy and powerful.