GithubHelp home page GithubHelp logo

plarsson / parallel.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from parallel-js/parallel.js

0.0 1.0 0.0 836 KB

Easy multi-core processing utilities for Node.

License: MIT License

JavaScript 69.65% Rust 30.35%

parallel.js's Introduction

Parallel.js

Build Status

Idea

import { Jobs, ParallelArray } from 'paralleljs';

// Execute multiple jobs in parallel and asynchrnously
const jobs = new Jobs();
const [job1, job2, job3] = await jobs.all([
  () => fibonacci(1),
  gaussianSumm,
  foobar
]);
console.log(job1, job2, job3);

// An array with all methods parallelized
const array = new ParallelArray([1, 2, 3]);
array.push(1);
array.map(e => e + 1);
array.filter(e => !!e);

Local Development

git clone https://github.com/parallel-js/parallel.js
cd parallel.js
yarn
yarn test

Contributors

Parallel.js is made up of four contributors:

parallel.js's People

Contributors

sebmaster avatar adambom avatar amilajack avatar maxfalstein avatar mathiasrw avatar evanhahn avatar blackrabbit99 avatar ad-si avatar bricejlin avatar kkirsche avatar mwager avatar patrickjs avatar rich-harris avatar wilzbach avatar tcezeaux avatar renovate[bot] avatar

Watchers

Peter Larsson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.