Hacker News new | past | comments | ask | show | jobs | submit login

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




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.


The 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.


I'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.


The incredibly long time it took to port very popular libraries from Python 2, to Python 3, demonstrates how unrealistic this thought is.


Because they’re written in Python.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: