News for hackers. Stuff that matters.
Re:Neural Networks in JavaScript by lucideer on Monday May 09, 2016 @06:49AM (#11658797)
> Python is not, as it can interact with native binaries

It sounds like what you actually mean here is that Python is equally as unsuitable and must instead use native binaries. Which one could just as easily do with JS...

A reasonable argument could be that such native binaries are available in the Python community and already in use as stable existing solutions, but that's more about ecosystem than language suitability.

Additionally, while I'm not too sure what convnet, node-mind, brain.js, etc. referenced in the article are using internally, there are gpu-oriented solutions being written in JS like https://www.npmjs.com/package/weblas

Re:Neural Networks in JavaScript by adrianN on Monday May 09, 2016 @09:59AM (#11659859)
Python is dog slow. This is why it is used as a glue language for C modules. This is the canonical way to do things. Javascript OTOH is decently fast on its own, but you can't really interact with libraries written in C or FORTRAN, as far as I know.
Re:Neural Networks in JavaScript by notduncansmith on Monday May 09, 2016 @10:50AM (#11660237)
Node has been able to interoperate with C/C for some time, via node-gyp and node-ffi.
Re:Neural Networks in JavaScript by 15155 on Monday May 09, 2016 @10:45AM (#11660193)
Re:Neural Networks in JavaScript by adrianN on Monday May 09, 2016 @10:48AM (#11660212)
Cool, good to know.