Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Timothy Bourke <Timothy.Bourke@inria.fr>,
	OCaml list <caml-list@inria.fr>,
	 Jun Inoue <jun.lambda@gmail.com>,
	Marc Pouzet <Marc.Pouzet@ens.fr>
Subject: Re: [Caml-list] Sundials/ML 2.5.0
Date: Fri, 28 Nov 2014 18:44:38 +0100	[thread overview]
Message-ID: <CAPFanBE0yP46oDvufBH3XoiTuybLytxJ5LeSzpQyV6vbXaNPag@mail.gmail.com> (raw)
In-Reply-To: <20141128133958.GA6607@tbrk.org>

Thanks for the significant effort put in documenting the bindings
(and, of course, the cool software and research); your "information
and documentation" page is impressive.

The page has a very interesting performance comparison of numeric code
partly or fully written in OCaml (using bigarrays of floats) -- and
the not-so-surprising results is that the run times of the OCaml
programs are between 100% and 200% of the run time of the reference C
implementation.

( http://inria-parkas.github.io/sundialsml/perf.opt.png )

I'm curious about this specific part of the explanation:

> For instance, some OCaml versions spend a significant fraction of their time
> in printf, and we were able to lower their ratios by instead using print_string and print_int.

The new 4.02 implementation of formats, due to Benoît Vaugon, should
be significantly faster (in my experience they match the performance of the
less-readable print_* sequence in most situations). Did you try those
OCaml versions with 4.02?

On Fri, Nov 28, 2014 at 2:39 PM, Timothy Bourke <Timothy.Bourke@inria.fr> wrote:
> We are pleased to announce Sundials/ML, an OCaml interface to the
> Sundials suite of numerical solvers (CVODE, CVODES, IDA, IDAS, KINSOL).
>
> Information and documentation: http://inria-parkas.github.io/sundialsml/
> Source code (BSD):             https://github.com/inria-parkas/sundialsml
>
> opam install sundialsml # (requires Sundials 2.5.0)
>
> We gratefully acknowledge the original authors of Sundials, and the
> support of the ITEA 3 project 11004 MODRIO (Model driven physical
> systems operation), Inria, and the Departement d'Informatique de l'ENS.
>
> Timothy Bourke, Jun Inoue, and Marc Pouzet.
>

  reply	other threads:[~2014-11-28 17:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-28 13:39 Timothy Bourke
2014-11-28 17:44 ` Gabriel Scherer [this message]
2014-11-28 21:05   ` Jun Inoue
2014-11-28 22:20     ` Jun Inoue

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=CAPFanBE0yP46oDvufBH3XoiTuybLytxJ5LeSzpQyV6vbXaNPag@mail.gmail.com \
    --to=gabriel.scherer@gmail.com \
    --cc=Marc.Pouzet@ens.fr \
    --cc=Timothy.Bourke@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=jun.lambda@gmail.com \
    /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