Difference between revisions of "DPS921/Web Worker API"
m (→Project Summary) |
m |
||
Line 10: | Line 10: | ||
== Brief Description == | == Brief Description == | ||
JavaScript is a powerful programming language of the web but it is single-threaded by nature. The Web Worker API, introduced in HTML5 and supported by modern browsers, remedies that by enabling web applications to execute computationally expensive JavaScript code in a background thread separated from the main interface thread. Besides that, a background thread can be shared between other threads in the same web application and, therefore, facilitates lightweight communication between multiple windows of that application. Overall, the project's objectives are to explore the Web Worker API and how to utilize it in improving the overall performance and user experience of web applications. | JavaScript is a powerful programming language of the web but it is single-threaded by nature. The Web Worker API, introduced in HTML5 and supported by modern browsers, remedies that by enabling web applications to execute computationally expensive JavaScript code in a background thread separated from the main interface thread. Besides that, a background thread can be shared between other threads in the same web application and, therefore, facilitates lightweight communication between multiple windows of that application. Overall, the project's objectives are to explore the Web Worker API and how to utilize it in improving the overall performance and user experience of web applications. | ||
+ | |||
+ | = The Problem = | ||
= Web Worker API = | = Web Worker API = | ||
+ | |||
+ | == Overview == | ||
+ | |||
+ | == Dedicated Worker == | ||
+ | |||
+ | == Shared Worker == | ||
= References = | = References = | ||
* HTML Standard, Web Worker section: https://html.spec.whatwg.org/multipage/workers.html | * HTML Standard, Web Worker section: https://html.spec.whatwg.org/multipage/workers.html |
Revision as of 20:19, 9 November 2020
Contents
Project Summary
The following subsections includes the basic information about the project.
Team Members
Brief Description
JavaScript is a powerful programming language of the web but it is single-threaded by nature. The Web Worker API, introduced in HTML5 and supported by modern browsers, remedies that by enabling web applications to execute computationally expensive JavaScript code in a background thread separated from the main interface thread. Besides that, a background thread can be shared between other threads in the same web application and, therefore, facilitates lightweight communication between multiple windows of that application. Overall, the project's objectives are to explore the Web Worker API and how to utilize it in improving the overall performance and user experience of web applications.
The Problem
Web Worker API
Overview
Dedicated Worker
References
- HTML Standard, Web Worker section: https://html.spec.whatwg.org/multipage/workers.html