ryuhhnn / threadr

A node.js module for spawning processes in separate threads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

threadr

NOTE: I have abandoned this project because Node now has Worker Threads.

A node.js module for spawning processes in separate threads.

To start, you'll need to have the Rust programming language installed along with Neon (npm i -g neon).

To run this, you'll first need to compile the sample timeout script: gcc timeout.c -o timeout.

Once you've compiled that, build the rust bindings by running neon build --release.

To test, start a node process and run:

require(".")

About

A node.js module for spawning processes in separate threads


Languages

Language:Rust 71.6%Language:JavaScript 19.5%Language:C 8.9%