caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Thomas Fischbacher <t.fischbacher@soton.ac.uk>
To: "guillaume.yziquel@citycable.ch" <guillaume.yziquel@citycable.ch>
Cc: Richard Jones <rich@annexia.org>, OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Wrapping var_args, or C ... in ocaml?
Date: Mon, 15 Feb 2010 02:37:30 +0000	[thread overview]
Message-ID: <4B78B36A.60905@soton.ac.uk> (raw)
In-Reply-To: <4B78A4A1.5070106@citycable.ch>


Guillaume Yziquel wrote:

> Richard Jones a écrit :
>> On Mon, Feb 15, 2010 at 12:13:17AM +0100, Guillaume Yziquel wrote:
>>> Richard Jones a écrit :
>>>> On Sun, Feb 14, 2010 at 11:46:10PM +0100, Guillaume Yziquel wrote:
>> However I'm still confused what you are trying to do here.  If you're
>> trying to bind the above, maybe look first at PyCaml?
> 
> Well, somehow, PyCaml seems to never have wanted to work with me.
> 
> I tried Art Yerkes' version, Thomas Fishbacher's version, Henrik 
> Stuart's version, and Yoann Padioleau's merge of these versions. Somehow 
> things always seem wrong. I get a segfault with Yoann Padioleau's 
> version due to the layout of the Python table function (WTF!? BTW).
> 
> So I'm rewriting a Python embedding.

...which is a good idea.

Our version of pycaml (i.e. the one included in the nsim package) works
in the sense that it does not have memory management bugs, as the one in
debian does. However, I think it is not thread-safe from the Python
side. Still, it is based on Art Yerkes' old code. I consider a clean
re-write a very good idea. Would do it myself, if I had the time...

-- 
best regards,
Thomas Fischbacher
t.fischbacher@soton.ac.uk


  reply	other threads:[~2010-02-15  1:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-14 15:46 Guillaume Yziquel
2010-02-14 18:06 ` [Caml-list] " Richard Jones
2010-02-14 20:26   ` Richard Jones
2010-02-14 22:46   ` Guillaume Yziquel
2010-02-14 22:59     ` Richard Jones
2010-02-14 23:13       ` Guillaume Yziquel
2010-02-14 23:19         ` Richard Jones
2010-02-15  1:34           ` Guillaume Yziquel
2010-02-15  2:37             ` Thomas Fischbacher [this message]
2010-02-14 23:31         ` Richard Jones
2010-02-15 10:16     ` Florent Monnier
     [not found]     ` <201002151106.23642.fmonnier@linux-nantes.fr.eu.org>
     [not found]       ` <4B7F3FED.4010100@citycable.ch>
2010-02-20  2:41         ` Guillaume Yziquel

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=4B78B36A.60905@soton.ac.uk \
    --to=t.fischbacher@soton.ac.uk \
    --cc=caml-list@inria.fr \
    --cc=guillaume.yziquel@citycable.ch \
    --cc=rich@annexia.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).