3 ms·
To be fair, anything done in Python can be said about JS and under V8 will execute faster. But idk what OP is saying lol
by pipeline_peak 4y ago
To be fair, anything done in Python can be said about JS and under V8 will execute faster.
But idk what OP is saying lol
- gpm 4y agoEh, 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.