> Put another way, what would be your preferred computer language if you
were SymPy starting again? There would obviously need to be an interface
to Python, but would you write the rest in C++?
I've studied "Typescript" briefly, because lots of symbolic math are practical due to frontend interfaces,
and hope to see it could be better directly implemented on frontend.
But I'd give a warning that Javascript/Typescript is very poor for symbolic computation
just because of its shallow design of equality (===).
I'm not sure about if there are weird struggles like that in SymEngine developers, but there could be possibly is.
On the other hand, I think that functional languages like OCamL can be better for symbolic math,
like seeing how easy it is to implement basic stuff of symbolic math
and functional languages often have more mathematical rigor of its operational semantics
so things that looks correct in math and logic are more native for them, and easy to make it work.
https://stackoverflow.com/questions/52737089/ocaml-function-to-perform-differentiationI think that the only reason people are gathering around this "old and messy" sympy than those functional languages is that
a lot of people studying physical science, or AI stuff are coming to python to use mature libraries.
And I believe that's the one and the only reason,
and nonetheless other mainstream libraries in Python are messy with objects too,
I would ideally want to see symbolic computation implemented in compositions of
terms, patterns, combinators, polynomials, logic, grammar sort of thing