Displaying 1 to 14 from 14 results

node-fibers - Fiber/coroutine support for v8 and node.

  •    C++

Fibers, 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.

Under-the-hood-ReactJS - Entire React code base explanation by visual block schemes (Stack+Fiber versions)

  •    Javascript

This repository contains an explanation of inner work of React. In fact, I was debugging through the entire code base and put all the logic on visual block-schemes, analyzed them, summarized and explained main concepts and approaches. I've already finished with Stack version and now I work with the next, Fiber version. Read in the best format from github-pages website.

posterus - Composable async primitives (futures) with cancelation, control over scheduling, and coroutines

  •    Javascript

Posterus is a library of promise-like asynchronous primitives (futures) that support cancelation. Futures compose just like promises, but can also be cleanly shut down, aborting pending operations and freeing resources. Posterus also exposes its inner scheduling capabilities, allowing you to "opt out" of asynchrony when needed (motivating example).

state-threads - Fork from http://sourceforge.net/projects/state-threads, patched for SRS.

  •    C

For SRS, ST is patched for ARM/VALGRIND, please checkout the ST srs branch. The State Threads library is a derivative of the Netscape Portable Runtime library (NSPR) and therefore is distributed under the Mozilla Public License (MPL) version 1.1 or the GNU General Public License (GPL) version 2 or later.




react-tiny-dom - 🍙 A minimal implementation of react-dom using react-reconciler

  •    Javascript

react-tiny-dom is a minimal implementation of react-dom as custom renderer using React 16 official Renderer API. The purpose of this project is to show the meaning of each method of the ReconcilerConfig passed to react-reconciler, by using a practical yet familiar environment: the browser DOM.

node-green-light - simple green light/red light style use of fiber in node.js

  •    Javascript

Node-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..

vm.js - Javascript bytecode compiler and VM implemented in pure coffeescript

  •    CoffeeScript

Javascript bytecode compiler/vm written in CoffeeScript. There are about 200 acceptance tests that are run twice: once inside a normal Vm and again inside a self-hosted Vm(think about the movie 'Inception' for an easy analogy). That means it is capable of running moderately complex javascript code(since it runs itself plus the esprima parser), so it should be stable enough for most uses.


agentk - synchronous Node.js network service framework

  •    Javascript

synchronous Node.js network service framework

fiber-ext - stackful-coroutines for PHP

  •    C

Fibers are primitives for implementing light weight cooperative concurrency in PHP. Basically they are a means of creating Closure that can be paused and resumed. The scheduling of fiber must be done by the programmer and not the VM. More details can be found at this RFC, and this PR.

lightio - LightIO is a userland implemented green thread library for ruby

  •    Ruby

LightIO provides green thread to ruby. Like Golang's goroutine, or Crystal's fiber. In LightIO it is called beam. LightIO ship ruby stdlib compatible library under LightIO or LightIO::Library namespace, these libraries provide the ability to schedule LightIO beams when IO operations occur.

react-performance-observer - Get performance measurements from React Fiber

  •    Javascript

react-performance-observer is a small abstraction over PerformanceObserver which reports only the measurements that come from React and parses information out of the name (See ReactDebugFiberPerf). Or if you want to create your own PerformanceObserver you can use just the parseEntry() method.

libfiber - The high performance coroutine library for Linux/FreeBSD/MacOS/Windows, supporting select/poll/epoll/kqueue/iocp/windows GUI

  •    C

The libfiber project comes from the coroutine module of the acl project in lib_fiber directory of which. It can be used on OS platfroms including Linux, FreeBSD, MacOS, and Windows, which supports select, poll, epoll, kqueue, iocp, and even Windows GUI messages for different platfrom. With libfiber, you can write network application services having the high performance and large cocurrent more easily than the traditional asynchronus framework with event-driven model. What's more, with the help of libfiber, you can even write network module of the Windows GUI application written by MFC, wtl or other GUI framework on Windows in coroutine way. That's realy amazing. The libfiber supports many events including select/poll/epoll/kqueue/iocp, and Windows GUI messages.

neo4j-fiber - Neo4j REST API Driver, with support of https and all DB's features

  •    Javascript

Most advanced, well documented and efficient REST client for Neo4j database, with 100% tests coverage. Fibers allows to give a new level experience to developers, no more callback-hell and blocking operations. Speed and low resources consumption is top priority of neo4j-fiber package.