caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Boris Yakobowski <boris@yakobowski.org>
To: Francois Berenger <francois.berenger@inria.fr>
Cc: The Caml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] Hash consed Patricia trees
Date: Wed, 25 May 2016 21:25:43 +0200	[thread overview]
Message-ID: <CABbVA-DRa_gVYG08xBf7czyHZQqZKYkX7RgV2m2kMYOuL=BmQw@mail.gmail.com> (raw)
In-Reply-To: <5745A683.2050108@inria.fr>

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

On Wed, May 25, 2016 at 3:20 PM, Francois Berenger <
francois.berenger@inria.fr> wrote:

> On 25/05/2016 14:29, Boris Yakobowski wrote:
>
>> If this kind of caching may be useful to you, the files hptmap*.ml* of
>> Frama-C provides very nice iterators and abstractions.
>>
>
> It might even be useful to have this data structure in opam provided as a
> standalone library.
>

I agree, but the devil lurks in the details. Currently, these modules
depend on a Frama-C abstraction for (OCaml) types, which would need to be
exported as a library first. This is turns requires more things: Frama-C
logging infrastructure, Frama-C's notion of "projects", etc. Simply
parameterizing the library by all those modules would result in a functor
with maybe 8 or 9 arguments -- with only 3 being really "useful".

If there is a strong interest in this library, we can try to parameterize
the current functor by the few _functions_ that are really required, and
use a wrapper above this version in Frama-C. People at OCamlPro are
currently looking at the functionalities of the library for the
Secure-OCaml project. This may give us a further incentive.

(There is also the fact that we cannot resist slightly changing the APIs at
least once per version!)


-- 
Boris

[-- Attachment #2: Type: text/html, Size: 1930 bytes --]

      reply	other threads:[~2016-05-25 19:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-23 14:33 Neuhaeusser, Martin
2016-05-23 14:49 ` Simon Cruanes
2016-05-25 12:29 ` Boris Yakobowski
2016-05-25 13:20   ` Francois Berenger
2016-05-25 19:25     ` Boris Yakobowski [this message]

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='CABbVA-DRa_gVYG08xBf7czyHZQqZKYkX7RgV2m2kMYOuL=BmQw@mail.gmail.com' \
    --to=boris@yakobowski.org \
    --cc=caml-list@inria.fr \
    --cc=francois.berenger@inria.fr \
    /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).