Message from JavaScript discussions

October 2018

— More than concurrency... running some or all the steps of a function in their own CPU core

— 

function mathFunc() {
var num1 = 2 + 2; // in core 0
var num2 = 3 + 3; // in core 1
var num3 = 4 + 4; // in core 2
var num4 = num1 + num2 + num3; // waits...
return num4;
}

— Dont get mad. simplify

— That code will be slow as it will cost processor time to start cores/threads..

— The api should take array or maybe two dimensional array of heavy functions

— It's a multiqueue model

— Yeah go practical pragmatic

— You can implement a queue with an array

— 😏

— Yes, it is a dataflow architecture, the overhead generated by dispatching the instruction tokens and data tokens, may very well exceed the computational overhead needed to even complete the users calculations

Message permanent page

— [[a, b, c], [d, e]]

— [a, b, c] - parralel, until all finished