WarpJS explained in 1 minute
Core technology and API
From... myFunc(arg1, ..., callback);
...to warp.call(myFunc, arg1, ..., callback);
In order to create Warp threads, WarpJS picks the most suitable implementation: web workers on browsers, child processes or worker threads on Node.js (depending on the release).
Unlike workers, you don't need to code the initialization nor the communication with the threads. WarpJS automatically deals with the synchronization of variables (object sharing, scopes, parameters...).
Finally, the load balancing of the threads is taken care of. WarpJS detects the available CPUs to optimize the execution.
How it works
When you warp call a function, the execution context (i.e. everything reachable from the function scope) is captured. This context and the warped function are then sent to a distinct and parallel warp thread (A).
We provide a Visual Studio Code extension to use WarpJS API easily in your projects. We also provide you a webpack plugin to develop, test and get the production version of your app ready.
Built by top experts
The team formerly accelerated the Android Java Virtual Machine, acquired by Google. We have strong track records in optimizing compilers and runtimes for performance.
Meet the team.