Hacker GitHub

← All repos

icodeforlove/task.js

View on GitHub ↗ ★ 415 JavaScript

:zap: Simplified interface for getting CPU intensive code to run on all cores (node.js, and web)

9 mentions on Hacker News by 4 people: 3 stories, 6 comments · first 2016-07-24 · latest 2019-09-01

Mentions per year 9 mentions · busiest year 2016 (6)
20082026
  1. This is how Task.js functions https://github.com/icodeforlove/task.js Which works on Node.js, and the browser. (Supports fork, worker_threads, and WebWorkers) The advantage of this is that the workers become generic enough to run anything.…
    comment by ic4l · 2019-09-01 · in Making Web-Workers Async Iterables
  2. …provided args and resolves when its done (also supports multiple workers and automatic queuing). https://github.com/icodeforlove/task.js
  3. I kept finding myself needing to toss stuff in a background thread, and ended up making this: https://github.com/icodeforlove/task.js It makes wrangling multiple workers much easier, and doesn't require you to have external JS files. (also…
  4. In response to your last comment, you should check out https://github.com/icodeforlove/task.js . It will do that and much more.
  5. …that is interested in easily using WebWorkers for this sort of work please check out task.js ( https://github.com/icodeforlove/task.js ). It allows you to send a pure function with provided arguments to a autoscaling WebWorker pool. Heres…
  6. …to do this in javascript (universal) could check out Task.js [0] for a simple interface. - [0] https://github.com/icodeforlove/task.js