GoogleChromeLabs/comlink
View on GitHub ↗ ★ 12,807 TypeScript
Comlink makes WebWorkers enjoyable.
14 mentions on Hacker News by 13 people: 3 stories, 11 comments · first 2017-10-11 · latest 2025-12-06
20082026
-
▲ 3
A 2kb library that makes WebWorkers enjoyablestory by keepamovin · 2025-12-06 · 0 comments
-
Another trick — use comlink ( https://github.com/GoogleChromeLabs/comlink ) to make the worker thread into essentially an async API of your local methods.
comment by aabhay · 2024-11-22 · in A binary tree of all Pythagorean triples -
I understand, but things like https://github.com/GoogleChromeLabs/comlink enable it. Similar to how iFrames don't have access to their parent page you need a facilitator. My question is why not use a js facilitator that could work in all…
comment by xori · 2024-07-10 · in Show HN: Parallel DOM – Upgrade your DOM to be multithreaded -
…of Comlink[0], the Google Chrome team's library for orchestrating and messaging web workers. [0]: https://github.com/GoogleChromeLabs/comlink
comment by tentacleuno · 2024-04-06 · in JavaScript native RPC added to Cloudflare workers -
…this blog post on using Redux across threads[3]. [1] https://www.npmjs.com/package/comlink [2] https://github.com/GoogleChromeLabs/comlink#transfer-handler... [3] https://dassur.ma/things/react-redux-comlink/
comment by rektide · 2022-01-20 · in Easy State Sync Across JavaScript Sandboxes (Frames, Workers, Threads, Webviews) -
…been some attempts to make it easier to use threads on the web like the excellent Comlink library: https://github.com/GoogleChromeLabs/comlink
comment by esprehn · 2021-09-28 · in High-performance garbage collection for C++ V8 (2020) -
Also supports Node.js, service workers and iFrame communication. https://github.com/GoogleChromeLabs/comlink
comment by leodriesch · 2021-05-23 · in Web worker meets worker threads – threads.js -
Other than the built-in thread pool task scheduler, how does this differ from Comlink [1]? 1. https://github.com/GoogleChromeLabs/comlink
comment by Sephr · 2021-05-23 · in Web worker meets worker threads – threads.js -
▲ 1
Comlink – RPC Library for WebWorkersstory by simonpure · 2021-01-27 · 0 comments
-
…https://github.com/domenic/proposal-blocks [2]: https://github.com/GoogleChromeLabs/clooney [3]: https://github.com/GoogleChromeLabs/comlink
comment by dassurma · 2019-06-15 · in When to use web workers -
…be reaped by the worklet approach. [1]: https://discourse.wicg.io/t/proposal-tasklets/2199 [2]: https://github.com/GoogleChromeLabs/comlink
comment by dassurma · 2017-10-20 · in Tasklets: a more ergonomic solution to WebWorkers -
▲ 2
Comlink: An RPC library for the webstory by guifortaine · 2017-10-11 · 0 comments