On Wednesday, 11 January 2017 at 10:52:40 UTC, Guillaume Chatelet wrote:
On Wednesday, 11 January 2017 at 10:29:26 UTC, Andrew Hall wrote:
I've been writing D bindings for GMP and I was wondering if they warrant inclusion in the Deimos git repo. I know Dlang has bignum, but GMP is still the fastest library for extremely large numbers.

The repos is in 'Deimos' format so if you care to use it, please tell me how to proceed.
https://github.com/andrew-m-h/libgmp

FYI I wrote a MPFR Deimos binding:
https://github.com/gchatelet/deimos-mpfr

MPFR relies on GMP so I had to create this file:
https://github.com/gchatelet/deimos-mpfr/blob/master/source/deimos/gmp.d

If you register your project on https://code.dlang.org/ I'll be able to depend on your project and reuse your bindings.

Cheers, I've done as you suggest, and 'libgmp' is registered under DUB. Feel free to have a look at the code because this is the first binding I've written in D. That said, it does have a test suite (unit tests) that do work. What is the procedure for being accepted by Deimos?

Reply via email to