News for hackers. Stuff that matters.
Re:Making Facebook's native mobile app faster using HTML5 by macspoofing on Monday December 17, 2012 @12:22PM (#4933229)
>It seems like JavaScript is the new ActionScript

Not even close.

Re:Making Facebook's native mobile app faster using HTML5 by cpdean on Monday December 17, 2012 @03:07PM (#4934077)
I can't wait till node.js gets ported from its fringe-language to ActionScript. Asynchronous callbacks will make Flash run so much faster.
Re:Making Facebook's native mobile app faster using HTML5 by killahpriest on Tuesday December 18, 2012 @09:34AM (#4937625)
Uhh, the callbacks aren't from node. The fallbacks are from vanilla JavaScript. You just notice them more in node, because you're doing event stuff, like making http connections. You have callbacks in browser JavaScript when you use AJAX.
Re:Making Facebook's native mobile app faster using HTML5 by andybak on Monday December 17, 2012 @02:59PM (#4934029)
Why not?
Re:Making Facebook's native mobile app faster using HTML5 by macspoofing on Monday December 17, 2012 @03:32PM (#4934185)
It's a very strange comparison to me. JS is intrinsically tied to the DOM, HTML and Web technologies, the underlying VM has widely used open-source implementations (V8, WebKit, Gecko), and JavaScript is not controlled by any single company.
Re:Making Facebook's native mobile app faster using HTML5 by mtrimpe on Monday December 17, 2012 @03:46PM (#4934265)
My comparison was of a more practical nature and practically speaking the most distributed VM is the browser.

The browser itself used to be too slow for many use cases which led to Flash filling in the gap, but thankfully that's rapidly changing with improved JIT VMs and HTML5 standardization efforts (WebRTC e.a.) all leading to the eventual demise of Flash.

Hence; JavaScript is the new ActionScript.

P.S. They're both just ECMAScript flavors so in that sense I would say they're very close ;)

Re:Making Facebook's native mobile app faster using HTML5 by untog on Monday December 17, 2012 @09:01PM (#4935676)
JS is intrinsically tied to the DOM, HTML and Web technologies

Not really. That just happens to be the most common use of it.