Skip to main content

Web Worker

A web worker, as defined by the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG), is a JavaScript script executed from an HTML page that runs in the background, independently of scripts that may also have been executed from the same HTML page. Web workers are often able to utilize multi-core CPUs more effectively. Web worker

Links to This Note

iiframe

Someday Project. Improved `iframe` that containerizes an embedded web inside Web Worker.

WorkerDOM

Google's take on providing DOM access to Web Worker Threads.

Treehouse

... Treehouse was the first attempt to run a DOM within a Web Worker. Later affected WorkerDOM and Brane.

Stories Behind Satori

Converting it into WebAssembly|WASM will also benefit by targeting Web Workers.

Satori

... engine, Satori, can be used in modern Web Browser|browsers, Node.js, and Web Workers. Building on top of the core engine, Vercel OG can be ...

Providing DOM API to Worker Threads

- Provide synchronous DOM API Access to Web Worker Threads

Project

- [ ] Does Emscripten WebAssembly|WASM run on Web Workers?

Atomics (JavaScript)

- SharedArrayBuffer๋ฅผ ์ด์šฉํ•ด Web Worker ์‚ฌ์ด ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ๋™๊ธฐํ™”ํ•˜๊ธฐ ์œ„ํ•ด ์‚ฌ์šฉ๋จ.

2022-08-03

... iiframe โ€” improved iframe โ€” that specializes in containerizing iframes in Web Workers.

2022-07-25

- [x] Inside Web Worker Thread `MutationTransfer.ts`, create a `transferSync` layer.

2022-07-21

- Inside Web Worker Thread `MutationTransfer.ts`, create a `transferSync` layer.

2022-07-19

Web Worker Thread์—์„œ ๋‚˜ํƒ€๋‚œ `AnimationFrame.ts`์€ `requestAnimationFrame`์— ๊ด€๋ จ๋œ ๊ฒƒ์œผ๋กœ ๋ณด์ด๊ณ  Data Transfer๊ณผ๋Š” ๋ฌด๊ด€ํ•ด๋ณด์ธ๋‹ค (๋ถˆํ™•์‹ค).

2022-07-11

Give this object to a Web Worker which includes third-party codes.

2022-06-22

- WorkerDOM will be an arbiter between the Web Worker thread and the iframe.