threadbox
multithreading
threadbox | multithreading | |
---|---|---|
8 | 7 | |
228 | 296 | |
- | - | |
0.0 | 8.3 | |
almost 2 years ago | 2 months ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
threadbox
-
threadbox VS multithreading - a user suggested alternative
2 projects | 10 Jan 2024
-
Why C# goes well with TypeScript
Also, I find the JavaScript single threaded / async execution model far more attune to real work. In C# you would require a synchronization context to yield async work back to the host thread to run sync, but JavaScript makes this a default (i.e. event loop). Also the Web Worker, Shared Array Buffer and Atomics provide a far more approachable threading model, so if no memory is shared, then there's no need to lock, but if you do need to lock, it's opt in and apparent. It's also why I wrote this
-
[AskJS] How has your experience with Deno been so far?
I have been planning on writing a Deno version of https://github.com/sinclairzx81/threadbox once Deno worker thread and Shared Array Buffer gets better. It may be possible to implement CAS in user lib space.
-
A library for going general PRC between threads and processes using high-level classes
I feel your pain with respect to working with worker_thread in Node. Not to lib drop, but this library might something you may be interested in https://github.com/sinclairzx81/threadbox
-
Multi Threading in Node using Process Recursion
Non-Decorator JavaScript version https://github.com/sinclairzx81/threadbox/blob/master/doc/example.js
-
Favorite threading/worker libraries?
Actually, keen to get your thoughts on https://github.com/sinclairzx81/threadbox. worker_threads often get overlooked in the node sphere. Interested to hear what others who have looked at this feature think of this lib.
multithreading
-
🤯 150 Articles to Satisfy Your Curiosity
Multithreading functions in JavaScript to speedup heavy workloads (https://github.com/W4G1/multithreading) by Walter van der Giessen
-
parallel.js VS multithreading - a user suggested alternative
2 projects | 10 Jan 2024
Solves a similar problem, but with a simpler implementation
-
threads.js VS multithreading - a user suggested alternative
2 projects | 10 Jan 2024
Solves a similar problem, but with a simpler implementation
-
threadbox VS multithreading - a user suggested alternative
2 projects | 10 Jan 2024
Solves a similar problem, but with a simpler implementation
- JavaScript Multithreading (2023)
- Multithreading: A JavaScript Worker abstraction to threadify plain functions
- Multithreading: A tiny cross-platform JavaScript parallelization runtime
What are some alternatives?
threads.js - 🧵 Make web workers & worker threads as simple as a function call.
yew - Rust / Wasm framework for creating reliable and efficient web applications
webgpu-examples
wasm-bindgen-rayon - An adapter for enabling Rayon-based concurrency on the Web with WebAssembly.
rocketrpc - A typesafe framework to destroy client-server barriers.
worker-rpc
remote-storage - remoteStorage is a simple library that combines the localStorage API with a remote server to persist data across sessions, devices, and browsers. It works as a simple key value database store and backend with support for React, Next.js, Vue, Node, or any Javascript stack
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
Labyrinthos.js - A JavaScript procedural generator for Mazes, Terrains, and Biomes. Designed for game developers and professional hobbyists, Labyrinthos.js offers a very simple-to-use API for crafting complex, customizable landscapes
discordeno - Discord API library for Node and Deno
Mario-Kart-3.js