News for hackers. Stuff that matters.
Re:Stratified JavaScript by tolmasky on Thursday April 29, 2010 @03:41PM (#1305727)
This project has been around for a while, and I've always found it really interesting. I wish more people were working on approaches like this to make asynchronous programming easier on the developer.
Re:Stratified JavaScript by jackfoxy on Thursday April 29, 2010 @03:50PM (#1305761)
Can you give a quick run down on why I should be interested? I gave it the standard "very quick look" and didn't make any headway.
Re:Stratified JavaScript by shib71 on Thursday April 29, 2010 @04:53PM (#1306000)
It's a javascript extension. i.e. you write javascript in a:

    <script type="text/sjs"> ... </script>
block, which is parsed and compiled into native javascript. It allows you to write asynchronous javascript using straight forward syntax. e.g. pause execution (hold), split code into parallel tasks, split code and automatically join when one branch finishes (function @ function - think search), and suspend/resume code using events.

It's very cool and now I'm going to start looking for an excuse to use it.

Re:Stratified JavaScript by jackfoxy on Thursday April 29, 2010 @08:35PM (#1306686)
Thanks. I get it. From your short description sounds like more human overhead involved in planning how to do it as opposed to using worker threads (not available in IE yet).