3 ms·
Eh, the main thing that can be done in python is calling all the libraries that have been written for python. Can't do that from JS.
by gpm 4y ago
Eh, the main thing that can be done in python is calling all the libraries that have been written for python. Can't do that from JS.
- pipeline_peak 4y agoBecause they’re written in Python.
- llanowarelves 4y agoThe big stuff is mostly done in C/C++ (because Python is slow) and bound to, so you could end up with basically the same bindings for JS/TS.
- shakna 4y agoThe incredibly long time it took to port very popular libraries from Python 2, to Python 3, demonstrates how unrealistic this thought is.
- gpm 4y agoI've tried using both tensorflow and pytorch via their C/C++ apis. It's possible, but just enough of the convenience logic is in python that it's not very practical. Incidentally if you're going to do it, I recommend pytorch over tensorflow.