Re: [sage-devel] NTL updates

2014-12-15 Thread Victor Shoup
Thanks for the feedback. I don't know much about MPIR. I'm talking to some GMP developers. There is someone there who is planning on improving the situation there...at least, for the temporary memory allocations done by mpn-level routines in GMP, which is my main concern. On Monday, December 15, 2

Re: [sage-devel] NTL updates

2014-12-15 Thread Jeroen Demeyer
On 2014-12-15 20:15, Victor Shoup wrote: As I get closer to finishing this, I'm thinking more about gmp's lack of proper error handling, which is just like NTL's currently: print error message and call abort. No, MPIR (I haven't checked GMP, but I guess it's the same) is far worse. MPIR doesn't

[sage-devel] NTL updates

2014-12-15 Thread Victor Shoup
I've just uploaded a bug-fix version of NTL (version 7.0.2) at www.shoup.net/ntl. Probably does not affect any Sage code, though. Also, I'm getting closer to finish my quixotic quest to make NTL exception safe. It is an interesting experience, as I'm learning how to make use of "modern" C++ idio