Comment on Neural networks in JavaScript – free 19-part courseComments−amelius7yIs there a Numpy equivalent for JS yet? How easy is it to use (considering that JS doesn't have operator overloading)?−jimmy-dean7yNot effectively. From what I've read, JS lacks SIMD support which makes Numpy-like vectorizations unachievable. Would be nice though...−amelius7yI think Numpy is written in C, so in principle they could use the same approach for JS (and invoke SIMD functions from C). The problem, however, is that there is no operator overloading in JS. So you can't write things like a[:,:,3] *= 2.
Comments
Is there a Numpy equivalent for JS yet? How easy is it to use (considering that JS doesn't have operator overloading)?
Not effectively. From what I've read, JS lacks SIMD support which makes Numpy-like vectorizations unachievable. Would be nice though...
I think Numpy is written in C, so in principle they could use the same approach for JS (and invoke SIMD functions from C). The problem, however, is that there is no operator overloading in JS. So you can't write things like a[:,:,3] *= 2.