News for hackers. Stuff that matters.
Re:Apple's new Objective-C to Javascript Bridge by Millennium on Wednesday May 15, 2013 @12:48PM (#5713192)
That depends on the state of the bridge. Previous language bridges by Apple have generally bridged the gaps pretty well, with the main "Objective-C" relic being really, really long method names.

That said, all of the bridges I've seen were to classical-OO languages. It is possible that Cocoa won't translate as well to prototypal-OO languages like JavaScript. It will be interesting to see how Apple navigates that paradigm shift.

Re:Apple's new Objective-C to Javascript Bridge by wwweston on Wednesday May 15, 2013 @02:40PM (#5713901)
> all of the bridges I've seen were to classical-OO languages. It is possible that Cocoa won't translate as well to prototypal-OO languages like JavaScript.

This has already been done with Mozilla's Rhino (JavaScript or Java) and it turns out the be pretty easy to work with Java classes in that context.

Re:Apple's new Objective-C to Javascript Bridge by dottrap on Wednesday May 15, 2013 @04:16PM (#5714565)
JSCocoa has been there, done that. They even have optional Objective-J support.