caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Monniaux <David.Monniaux@ens.fr>
To: Michel Quercia <michel.quercia@prepas.org>
Cc: Roberto Bagnara <bagnara@cs.unipr.it>, caml-list@inria.fr
Subject: Re: [Caml-list] OCaml and bignums
Date: Sun, 16 May 2004 22:10:54 +0200	[thread overview]
Message-ID: <1084738253.21965.4.camel@picsou> (raw)
In-Reply-To: <20040510103916.2575ec5f.michel.quercia@prepas.org>

On Mon, 2004-05-10 at 10:39, Michel Quercia wrote:

> > [MLGMP] As far as you can tell, is it still maintained?  The latest
> > item in ChangeLog appears to be on November 2002.
> Same, David will surely reply.

Well, the library *is* maintained. I haven't quite kept up with the
newest stuff in GMP (fancy operations), but I can add it if it's needed.
Sometimes GMP breaks API compatibility, so I adapt to the newest
versions.

Some people have noted poor performance with MLGMP memory-wise. Such
problems are very difficult to fix - they have to do with the GC speed
in OCaml etc... I've not been able to recreate the problems, so I
suspect that I would have to be given some actual source code exhibiting
the problems in question.

I suspect that it has to do with the fact that MLGMP provides a
functional interface to GMP, while GMP was written with in-place
modification in mind. That's why there exist for integer values the Z2
module, which provides for in-place modification. I may extend this to
rational and floats if needed.

The latest version compiles and runs at least on GMP-4.1.2 on x86 and
AMD64.

-- D.M.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2004-05-16 20:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-09 21:06 Roberto Bagnara
2004-05-10  4:41 ` Michel Quercia
2004-05-10  8:14   ` Roberto Bagnara
2004-05-10  8:39     ` Michel Quercia
2004-05-16 20:10       ` David Monniaux [this message]
2004-05-10  8:46     ` Jean-Christophe Filliatre
2004-05-10 17:49       ` Roberto Bagnara
2004-05-10 17:22     ` Remi Vanicat
2004-05-10 18:29       ` Roberto Bagnara
2004-05-11 17:21         ` Christophe TROESTLER

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1084738253.21965.4.camel@picsou \
    --to=david.monniaux@ens.fr \
    --cc=bagnara@cs.unipr.it \
    --cc=caml-list@inria.fr \
    --cc=michel.quercia@prepas.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).