next
Stratified JavaScript
http://croczilla.com/~alex/oni/stratified/samples/presentation1/
Overview
Preemptive Scheduling
A better setTimout()
Waiting for events
Blocking requests
Spawning threads
Spawning threads from event handlers
Fork-Join Parallelism
Fork-Join Example
Parallel Selection: The '@' operator
Implementing user cancellation with '@'
Implementing timeouts with '@'
Both timeouts & user cancellation
Cleaning up after aborted code
Composing concurrency
Suspend-resume: Converting asynchronous code to synchronous code
Under the hood
More samples
The future
High-level concurrency for JS -
http://www.croczilla.com/stratified