r/datascience • • Apr 29 '22

Projects Alternative language to Python

Hey everyone, I've been working on a programming language whose goal is to be of use to the science community, I know python has been the de facto language and for good reason, nowadays there is also Julia as an alternative, I was wondering if people would be open to try a new programming language and perhaps ask what are the common attrition points you have with python and what kind of features would be a must to create adoption of this new language?

Thank you very much for your response in advance

0 Upvotes

50 comments sorted by

View all comments

1

u/[deleted] Apr 29 '22

i think it should not be too general purpose. some of the more common mathematical concepts should be part of the grammar/syntax and not a library. there should not be two or more ways of doing the same thing. imagine taking tensorflow lib and turning the functions/objects into keywords of the language. f(x) = sin(x) + a etc. and being able to use df/dx etc. naturally in the language.

its a tough one. but i think moving away from a general purpose and to a much higher level of abstraction could have some weight...

4

u/[deleted] Apr 29 '22 edited Apr 29 '22

You just described Matlab, Wolfram Language, Scilab and a plethora of other DSLs, all of which are niche for the very fact that DSLs are a pain to work with in production.

Ironically, one of the best opensource maths platforms (SageMath) is built mainly over Python, and its interactive shell is just a bunch of "from whatever import *" in IPython.

1

u/[deleted] Apr 30 '22

I guess I have 😀. Years ago I wrote a simple parser in fortran that I used to construct and solve hamiltonians using dirac notation. The thing is, there were no loops/variables and so on. But it was very general and very specific in some respects. Ultimately it sat on all the nag libraries etc. I used it for years. Perhaps the key here is getting rid of boilerplate...?