Removing the backend for mpmath provided by Sage

61 views
Skip to first unread message

Matthias Koeppe

unread,
Jul 27, 2024, 6:59:38 PM7/27/24
to sage-devel

Oscar Benjamin

unread,
Jul 27, 2024, 8:26:30 PM7/27/24
to sage-...@googlegroups.com
I find it quite difficult to understand the Sage code so I can't
really review the PR. I will say though that I think that this is an
important change to make. Both SymPy and Sage reach deeply into
mpmath's internals which means that mpmath itself is hamstrung when it
comes to future improvements. It would be easy to bring significant
improvements in performance for mpmath just by making use of
python-flint if it was easier to rearrange mpmath's internal code
without breaking SymPy and Sage.

I just removed one part of SymPy's usage of mpmath internals in:

https://github.com/sympy/sympy/pull/26861

There is still plenty more to do though to reach the point where SymPy
only uses mpmath's "public" interfaces though.

--
Oscar



On Sat, 27 Jul 2024 at 23:59, Matthias Koeppe <matthia...@gmail.com> wrote:
>
> https://github.com/sagemath/sage/pull/38113, needs review.
>
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/5c89a51c-e54b-411a-b631-24be8ccd5df7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages