Write code once, run anywhere is not possible when you want to use the highly optermized libaries written decades ago. SciPy needs access to a Fortran compiler to run.
JavaScript/TypeScript doesn’t feel to me like it’s easy to learn. In two years I learned Kotlin, Dart and JavaScript/TypeScript and JavaScript/TypeScript was the most annoying thing to learn.
The only reason to go for JS seems to be that it has a huge community for some aspects. It doesn’t have a huge community for statistics and machine learning, so people who care about the established community still use the established languages.
While you can theoretically run JS everywhere it’s also not that trivial to use it in non-JS project like native Android/iOS development, Flutter and Xamarin.
You can also run Python on iOS and Android. It’s just that there isn’t good tooling for it. There seems even to be a project to run Python in the browser.
Write code once, run anywhere is not possible when you want to use the highly optermized libaries written decades ago. SciPy needs access to a Fortran compiler to run.
JavaScript/TypeScript doesn’t feel to me like it’s easy to learn. In two years I learned Kotlin, Dart and JavaScript/TypeScript and JavaScript/TypeScript was the most annoying thing to learn.
The only reason to go for JS seems to be that it has a huge community for some aspects. It doesn’t have a huge community for statistics and machine learning, so people who care about the established community still use the established languages.
While you can theoretically run JS everywhere it’s also not that trivial to use it in non-JS project like native Android/iOS development, Flutter and Xamarin.
You can also run Python on iOS and Android. It’s just that there isn’t good tooling for it. There seems even to be a project to run Python in the browser.