# Web Worker Examples
# Simple web-worker
Puede encontrar los códigos de ejemplo en este repo:
- Repo de ejemplo simple-web-worker (opens new window)
~/local/src/uai/uai2015/simple-web-worker
Ejemplo de uso de Web Workers.
Demo en GitHub Pages (opens new window) en http://sytw.github.io/simple-web-worker/
# Ejemplo: Fibonacci
- Repo de ejemplo fibonacci-worker (opens new window)
~/local/src/uai/uai2015
~/campus-virtual/1920/sytws1920/apuntes/tema1-introduccion/practicas/p2-t1-c3-file-system/event-loop/fibonacci-worker
Can you create a web worker inside a web worker? Answer: yes!
# Things you can do with Web Workers
# Tutorial by Chinenye Onuegbu: Code examples for JSDay Canarias 2019
- Fork en SYTWS-1920 del repo de la charla impartida por Chinenye Onuegbu: Code examples for JSDay Canarias 2019 (opens new window)
- Video (opens new window). Una presentación extraordinaria. No te la pierdas.
- En la carpeta example-1 (opens new window) encontramos un ejemplo minimal de web worker
- En este repo podemos encontrar ejemplos de uso de web-workers en Node.js (denominados worker threads). Véase la carpeta nodejs-threads (opens new window)
# Tutorials by Alberto de Agostini
- Introducing WebWorkers in subito.it - part1 (opens new window)
- Introducing WebWorkers in subito.it - part2 (opens new window)
- Using Web Workers to improve UI performance (opens new window)
# Other tutorials by Alberto de Agostini
- Repo Cloc-web (opens new window): A web app to Count Lines of Code of local projects using new file access api and web workers. TS, React. See https://cloc-web.netlify.app/ (opens new window)
- How to add random images in Github profile page (opens new window)
- Pure HTML image fallback (opens new window)
- Choosing between vuepress, storybook and vue-styleguidist (opens new window)
- One thing to know when using js default function parameters. The argument keyword behaviour (opens new window)
- How to implement a responsive element with defined aspect ratio with only css (opens new window)
# Parallel.js
- parallel-js-examples repo (opens new window) Parallel.js is a Node.js lib for parallel programming
- parallel-js-examples (opens new window)
# Referencias
Tutorial: Using Web Workers en Mozilla Developer Network (opens new window)
See meta repo ULL-MII-SYTWS-1920/uai2015 (opens new window)
In my machine is allocated in:
~/local/src/uai/uai2015/
1Book Web Workers: Safari O'Reilly. Usa Acceso ULL (opens new window)