Displaying 1 to 20 from 42 results

stockroom - ๐Ÿ—ƒ Offload your store management to a worker easily.

  •    Javascript

Offload your store management to a worker. Stockroom seamlessly runs a Unistore store (and its actions) in a Web Worker, setting up optimized bidirectional sync so you can also use & subscribe to it on the main thread.

libmill - Go-style concurrency in C

  •    C

Libmill is a library that introduces Go-style concurrency to C. It can execute up to 20 million coroutines and 50 million context switches per second. It also contains simple networking and file access library that allows users to quickly bootstrap application development.




web-worker - Consistent Web Workers in browser and Node.

  •    Javascript

Native cross-platform Web Workers. Works in published npm modules. In Node, it's a web-compatible Worker implementation atop Node's worker_threads.

Rayon - A data parallelism library for Rust

  •    Rust

Rayon is a data-parallelism library for Rust. It is extremely lightweight and makes it easy to convert a sequential computation into a parallel one. It also guarantees data-race freedom. Rayon makes it drop-dead simple to convert sequential iterators into parallel ones: usually, you just change your foo.iter() call into foo.par_iter(), and Rayon does the rest.

catiline - JavaScript library to take the pain out of web workers.

  •    Javascript

Multi proccessing with workers in the browser.

libdill - Structured concurrency in C

  •    C

Libdill is a C library that makes writing structured concurrent programs easy. There is no interaction between threads. Each thread is treated as a separate process. Channels are always unbuffered. Coroutines can be canceled. Generally speaking, though, libdill's concurrency primitives are only a bit slower than basic C flow control statements. A context switch has been seen to execute in as little as 6 ns, with coroutine creation taking 26 ns. Passing a message through a channel takes about 40 ns.


react-native-multithreading - ๐Ÿงต Fast and easy multithreading for React Native using JSI

  •    C++

Since JSI is not officially released, installing react-native-multithreading requires you to edit a few native files. See the setup guide (SETUP.md) for more details. Requires react-native-reanimated 2.1.0 or higher.

Stlab Libraries - C++ Concurrency Library

  •    C++

Stlab Concurrency library provides high level constructs for implementing algorithms that eases the use of multiple CPU cores while minimizing the contention.

marl - A hybrid thread / fiber task scheduler written in C++ 11

  •    C++

Marl is a hybrid thread / fiber task scheduler written in C++ 11. Marl is a C++ 11 library that provides a fluent interface for running tasks across a number of threads.

threads.js - Easy to use, yet powerful multi-threading library for node.js and the browser.

  •    Javascript

Javascript thread library. Uses web workers when run in browsers and child processes when run by node.js. Also supports browsers which do not support web workers.You don't have to write the thread's code inline. The file is expected to be a commonjs module (so something that uses module.exports = ...), for node and browser.

worker-threads-pool - Easily manage a pool of Node.js Worker Threads

  •    Javascript

Easily manage a pool of Node.js Worker Threads. Number of active workers in the pool.

thread-pool - Thread pool implementation using c++11 threads

  •    C++

A thread pool is a technique that allows developers to exploit the concurrency of modern processors in an easy and efficient manner. It's easy because you send "work" to the pool and somehow this work gets done without blocking the main thread. It's efficient because threads are not initialized each time we want work to be done. Threads are initialized once and remain inactive until some work has to be done. This way we minimize the overhead. There are many many Thread pool implementations in C++, many of them are probably better (safer, faster...) than mine. However, I belive my implementation is very straightforward and easy to understand.

task-worklet - Task Worklet: explainer, polyfill and demos.

  •    Javascript

A polyfill for Task Worklet - a proposed API for defining and invoking coordinated, threadpooled background tasks with minimal transfer overhead. A lot of what we do in modern web applications touches the DOM in some way. Improving the performance of DOM-bound code is difficult because issues generally stem from layout and paint cost rather than actual script execution overhead. Task Worklet attempts to define a highly ergonomic way to offload all of the work an application needs to do that doesn't rely on the DOM, while making it incredibly easy to move data between the UI thread and background threads.

requests-threads - ๐ŸŽญ Twisted Deferred Thread backend for Requests.

  •    Python

This repo contains a Requests session that returns the amazing Twisted's awaitable Deferreds instead of Response objects.This example works on both Python 2 and Python 3.

gulp-ll - Run CPU-consuming Gulp tasks in the separate processes to achieve faster builds.

  •    Javascript

Ugly workaround for this imperfect world where we don't have threads in Node.Run CPU-consuming Gulp tasks in the separate processes to achieve faster builds.

in_threads - Run all possible enumerable methods in concurrent/parallel threads

  •    Ruby

Run all possible enumerable methods in concurrent/parallel threads. Add the gem to your Gemfile...

labor

  •    Javascript

Maintain a pool of Web Workers with callbacks. Based on Ilmari Heikkinen's WorkCrew library. Easily wrap existing libraries in Web Worker functionality. Works in the browser and node.js. See the example folder for a demonstration of how the library should be used.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.