I want to write JavaScript applications that require a lot of numerical calculations. However, I am very puzzled by the state of efficient computing, like linear algebra, in client-side JavaScript. There seem to be many approaches, but there is no clear indication of their readiness. Most of them seem to have size restrictions on the vectors and matrices allowed for calculations.
Webgl
Obviously, this allows vector and matrix computations on the GPU, but I do not quite understand the limitations. Attempts to wrap around this library seem to limit the size of matrices and vectors. Is it a practical limitation (browsers don't support anything else) or just a development limitation (someone has to write code)?
Webcl
WebCL is the proposed OpenCL implementation at the browser level, but seems to be stuck in development .
WebGPU
Apple recently launched an alternative to WebCL called WebGPU . So far, there is a prototype and demos, but it is not clear to me whether this will be widely distributed.
SIMD
Mozilla API SIMD, .
JavaScript?
: