Dear Michael,

The SageMath software has a long startup time. "sage -python name.py" is
likely to be too slow. I would suggest that you use it in a more
interactive fashion. As Dima said, anything that works with CPython
will work here.

Though, if your goal is to find relations between the OEIS sequences
I would rather
* use Python directly (then Sage will be available)
* or write all in Scala (and ignore Sage)

Best
Vincent

Le 27/01/2021 à 11:03, Michael Wagner a écrit :
Dear All,

What is the recommended way to use SageMath in for example Scala?

At the moment I am using a python tcp socket, which I am running via the
"sage -python name.py" command. It receives functions, casts them and calls
"simplify_full()" on them.


(Context: the goal is a program, which can find relations between the
generating functions of the sequences in the OEIS.)

In kind regards,
Michael


--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/94e3ac14-e588-6310-5159-b6c699c721cb%40gmail.com.

Reply via email to