Pulsar wraps the Quasar library with a Clojure API that's very similar to Erlang.Java 7 and up and Clojure 1.5 and up are required to run Pulsar.
fibers actors jvm concurrencyYou can also study the examples here.You can also read the introductory blog post.
jvm fibers actors concurrencyVenice provides structured concurrency and CSP for Swift.Venice wraps a fork of the C library libdill.
coroutines venice server-side-swift server csp swift swiftpm structured-concurrency green-threads fibers performance synchronous non-blockingZewo is a lightweight library for web applications in Swift.Zewo is not a web framework. Zewo is a lightweight library for web applications in Swift. Most server-side Swift projects use Grand Central Dispatch (GCD) as the concurrency library of choice. The drawback of using GCD is that its APIs are asynchronous. With async code comes callback hell and we all know it, it's no fun.
swift coroutines synchronous-apis server-side-swift zewo swiftenv concurrency xcode heroku swiftpm slack buildpack non-blocking fibers green-threadsThink Smalltalk in a Lua-sized package with a dash of Erlang and wrapped up in a familiar, modern syntax. Wren is small. The VM implementation is under 4,000 semicolons. You can skim the whole thing in an afternoon. It's small, but not dense. It is readable and lovingly-commented.
wren scripting-languages fibers language bytecode interpreterFibers, sometimes called coroutines, are a powerful tool which expose an API to jump between multiple call stacks from within a single thread. This can be useful to make code written for a synchronous library play nicely in an asynchronous environment. Note: node-fibers uses node-gyp for building. To manually invoke the build process, you can use node-gyp rebuild. This will put the compiled extension in build/Release/fibers.node. However, when you do require('fibers'), it will expect the module to be in, for example, bin/linux-x64-v8-3.11/fibers.node. You can manually put the module here every time you build, or you can use the included build script. Either npm install or node build -f will do this for you. If you are going to be hacking on node-fibers, it may be worthwhile to first do node-gyp configure and then for subsequent rebuilds you can just do node-gyp build which will be faster than a full npm install or node-gyp rebuild.
fiber fibers coroutine thread async parallel worker future promiseGravity is a powerful, dynamically typed, lightweight, embeddable programming language written in C without any external dependencies (except for stdlib). It is a class-based concurrent scripting language with modern Swift-like syntax. Gravity supports procedural programming, object-oriented programming, functional programming and data-driven programming. Thanks to special built-in methods, it can also be used as a prototype-based programming language.
virtual-machine interpreter json programming-language scripting-language bytecode pratt-parser object-oriented bridge fibers language closure portable gravityThis is a library for enabling task-based multi-threading. It allows execution of task graphs with arbitrary dependencies. Dependencies are represented as atomic counters. Under the covers, the task graph is executed using fibers, which in turn, are run on a pool of worker threads (one thread per CPU core). This allows the scheduler to wait on dependencies without task chaining or context switches.
cpp multithreading fibers task-scheduler coroutinesRust Stackful Coroutine Library. May is a high performance stackful coroutine library that can be thought of rust version goroutine. You can use it easily to design and develop massive concurrent programs in Rust.
coroutines green-threads fibers async scalability io primitives high-performance generatorMarl 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 fibers scheduler task-scheduler tasks coroutine coroutine-libraryFibEvent is a C++ windows library, which helps to hide and manage complexity of asynchronous code. FibEvent, using cooperative multitasking, helps creation of asynchronous procedures as simple as blocking procedures, while maintaining many simultaneous requests or tasks. Sou...
asynchronous events fibers highload http iocpLwt is OCaml's concurrent programming library. It provides a single data type: the promise, which is a value that will become determined in the future. Creating a promise spawns a computation. When that computation is I/O, Lwt runs it in parallel with your OCaml code. OCaml code, including creating and waiting on promises, is run in a single thread by default, so you don't have to worry about locking or preemption. You can detach code to be run in separate threads on an opt-in basis.
ocaml concurency io futures events asynchronous lwt fibers promisesWrite procedural style code that does async in the background
async futures proxy procedural fibers easysyncho is a thin and fast wrapper around fibers for node.js. The API is very similar to node-sync but optimized to reduce overhead (see benchmarks) and in less than 100 lines of code.Pass a function fn to run in a fiber. This is just a shortcut to Fiber(fn).run(). Synchronized functions will throw in case of error so you can use standard try and catch to run your code. All syncho methods need to be run inside a fiber.
fibers syncho sync synchronize synchronous async harmony flow control-flow thread parallelImproved ergonomics for Python programmers wanting to use asynchronous IO. Gruvi uses libuv (via pyuv) as the underlying high-performance event-based I/O layer, and coroutines based on fibers to create a traditional sequential programming model on top of the libuv completion/callback model.
async libuv fibersNode-green-light was an experiment to use fibers in a safer way. For a better maintained fork please use asyncblock instead. Node-green-light has thus been discontinued in favor of asyncblock and to have more time for my other projects. This wrapper to node-fibers aims to ease calling existing asynchronous code from a synchronous context. A greenlight fiber gets two functions, red and green. The first is for pausing the other for resumes. Call them anyway you like red/green, pause/resume, stop/go etc..
fiber fibers coroutine stop green redThis project is currently a proof of concept. New features and performance improvements are to be expected in the near future. The Boson Framework only supports Linux on x86-64 platforms for now, but Windows and Mac OS are in the roadmap.
boson-framework routines coroutines cplusplus cplusplus-14 fibers io async-programming asynchronous-tasks asynchronous-jobsThe problem is directly extracted from a DoxBee project. Its a typical if somewhat complex CRUD method executed when a user uploads a new document to the database. It involves multiple queries to the database, a couple of selects, some inserts and one update. Lots of mixed sync/async action. Run node complexity.js to get complexity reports for all files.
generators fibers promises callbacks comparison compare asyncEasily mix asynchronous and synchronous programming styles in node.js. Fibrous requires node version 0.6.x or greater.
fibers callback async node
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.