Главная
Study mode:
on
1
Intro
2
Trying A Definition (2)
3
Agenda
4
JavaScript Execution Model
5
Example: Asynchronous Image Loading
6
Fixed Asynchronous Image Loading
7
Asynchronous Image Loading Flow
8
A More Complex Scenario: Personalization
9
Enter: Promises
10
Internal State of a Promise
11
Encoding Flow with Promises
12
Handling Errors with Promises
13
Long Running Scripts
14
How to Handle Long Running Events
15
Enter: Web Workers
16
Concurrency Model with Web Worker
17
Modern Parallel Hardware
18
Task Parallelism with Web Workers
19
SIMD Programming
20
SIMO Examples
21
Adding SIMD to JavaScript
22
SIMD Example in JavaScript (2)
23
Parallel JavaScript (formerly River Trail)
24
Adding Parallelism to JavaScript
25
A New Concept: Temporal immutability
26
Example: Increment (2)
27
Example: Sum
28
Parallel JavaScript + Typed Objects: Grayscale
29
Some Sample Applications
30
Conclusion
Description:
Explore concurrency and parallel computing in JavaScript through this 41-minute conference talk from Strange Loop 2013. Gain insights into the JavaScript execution model, asynchronous programming techniques, and modern parallel hardware utilization. Discover how to leverage promises for better flow control and error handling, implement web workers for long-running tasks, and harness SIMD programming for performance optimization. Learn about the Parallel JavaScript proposal and its potential impact on future web development. Delve into practical examples, including asynchronous image loading, personalization scenarios, and parallel array operations, to enhance your understanding of concurrent and parallel programming in the JavaScript ecosystem.

Concurrency and Parallel Computing in JavaScript

Strange Loop Conference
Add to list
0:00 / 0:00