YoVDO

Concurrency and Parallel Computing in JavaScript

Offered By: Strange Loop Conference via YouTube

Tags

Strange Loop Conference Courses Javascript Courses HTML5 Courses Parallel Computing Courses Concurrency Courses Web Workers Courses Promises Courses Futures Courses

Course Description

Overview

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.

Syllabus

Intro
Trying A Definition (2)
Agenda
JavaScript Execution Model
Example: Asynchronous Image Loading
Fixed Asynchronous Image Loading
Asynchronous Image Loading Flow
A More Complex Scenario: Personalization
Enter: Promises
Internal State of a Promise
Encoding Flow with Promises
Handling Errors with Promises
Long Running Scripts
How to Handle Long Running Events
Enter: Web Workers
Concurrency Model with Web Worker
Modern Parallel Hardware
Task Parallelism with Web Workers
SIMD Programming
SIMO Examples
Adding SIMD to JavaScript
SIMD Example in JavaScript (2)
Parallel JavaScript (formerly River Trail)
Adding Parallelism to JavaScript
A New Concept: Temporal immutability
Example: Increment (2)
Example: Sum
Parallel JavaScript + Typed Objects: Grayscale
Some Sample Applications
Conclusion


Taught by

Strange Loop Conference

Tags

Related Courses

Amazon Elastic File System (EFS) Performance (Japanese)
Amazon Web Services via AWS Skill Builder
Learn Intermediate Java: Threading
Codecademy
Learn JavaScript: Best Practices
Codecademy
Intro to Operating Systems 3: Concurrency
Codio via Coursera
Introduction to Operating Systems
Codio via Coursera