3 ms·
> 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 us
by lucideer 11y ago
> 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 https://www.npmjs.com/package/weblas
- adrianN 11y agoPython 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.
- 15155 11y agohttps://github.com/node-ffi/node-ffi https://github.com/node-ffi/node-ffi
- adrianN 11y agoCool, good to know.
- notduncansmith 11y agoNode has been able to interoperate with C/C for some time, via node-gyp and node-ffi.