napajs
napajs copied to clipboard
Napa.js: a multi-threaded JavaScript runtime
environment: macos 10.13.5 node: 10.6.0 napajs: 0.2.3 code ```javascript const napa = require('napajs'); const zone = napa.zone.create('zone', { workers: NUMBER_OF_WORKERS }); function fibParallel (n) { if (n { return result1.value...
I got this error but have no idea what happened
test
test
Because we executed our javascript with v8, while it's not in Nodejs, and we want to use the ability of mutiple thread. How can we do? Thank you.
Is it possible to use napajs as a secure sandbox alternative to node `vm` and whitelist the nodejs API instead of automatically allowing all supported nodejs API calls by default?...
use electron-quick-start add napajs **D:\project> node -v** v10.15.3 download https://github.com/Kitware/CMake/releases/download/v3.14.0-rc4/cmake-3.14.0-rc4-win64-x64.msi install cmake **D:\project>cmake -version** cmake version 3.14.0-rc4 **D:\project>npm install -g cmake-js** **D:\project>cmake-js --version** [ 'D:\\Program Files\\nodejs\\node.exe', 'C:\\Users\\MyPC\\AppData\\Roaming\\npm\\node_modules\\cmake-js\\bin\\cmake-js', '--version' ] 5.1.0...
in a main thread,accept request. in a child thread ,execute caculate. but in child thread, there needs other module. this module is easy using in the main thread,how can i...
Hello, I want to use napa, but when run my following simple code: ```javascript const napa = require('napajs'); const zone1 = napa.zone.create('zone1', { workers: 2 }); // Broadcast code to...
notice that the install script is trying to get release v67 but looking at the releases page the asset is **v64** ``` node-pre-gyp ERR! node -v v11.9.0 node-pre-gyp ERR! node-pre-gyp...