[Patch v2 4/4] perf-test: initial support for talloc leak report in memory tests
[notmuch-archives.git] / 91 / 5005a2f8972465331f9333b46eb2ca5ec1d5f7
1 Return-Path: <simon@simon-cozens.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 8D35B431FBD\r
6         for <notmuch@notmuchmail.org>; Tue, 26 Jan 2010 01:15:31 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.245\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.245 tagged_above=-999 required=5\r
12         tests=[AWL=-0.246, BAYES_50=0.001] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id nVXyXozzlPB3 for <notmuch@notmuchmail.org>;\r
16         Tue, 26 Jan 2010 01:15:31 -0800 (PST)\r
17 Received: from hosted.simon-cozens.org (hosted.simon-cozens.org\r
18         [78.129.197.129])\r
19         by olra.theworths.org (Postfix) with ESMTP id D4116431FBC\r
20         for <notmuch@notmuchmail.org>; Tue, 26 Jan 2010 01:15:30 -0800 (PST)\r
21 Received: from cpc1-stav12-0-0-cust457.aztw.cable.virginmedia.com\r
22         ([92.235.229.202] helo=foobar.local)\r
23         by hosted.simon-cozens.org with esmtpsa\r
24         (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69)\r
25         (envelope-from <simon@simon-cozens.org>)\r
26         id 1NZhWB-0005pj-Of; Tue, 26 Jan 2010 09:15:29 +0000\r
27 Received: from foobar.lan (practivate.adobe.com [127.0.0.1])\r
28         by foobar.lan (Postfix) with ESMTP id C960CE9F6DC;\r
29         Tue, 26 Jan 2010 08:34:57 +0000 (GMT)\r
30 Message-ID: <4B5EA931.6080804@simon-cozens.org>\r
31 Date: Tue, 26 Jan 2010 08:34:57 +0000\r
32 From: Simon Cozens <simon@simon-cozens.org>\r
33 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB;\r
34         rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1\r
35 MIME-Version: 1.0\r
36 To: Ben Gamari <bgamari@gmail.com>\r
37 References: <4B5DE02C.3070309@simon-cozens.org>\r
38         <1264476319-sup-7498@ben-laptop>\r
39 In-Reply-To: <1264476319-sup-7498@ben-laptop>\r
40 X-Enigmail-Version: 1.0\r
41 Content-Type: text/plain; charset=ISO-8859-1\r
42 Content-Transfer-Encoding: 7bit\r
43 X-SA-Exim-Connect-IP: 92.235.229.202\r
44 X-SA-Exim-Mail-From: simon@simon-cozens.org\r
45 X-SA-Exim-Version: 4.2.1 (built Sat, 01 Aug 2009 12:09:26 +0000)\r
46 X-SA-Exim-Scanned: Yes (on hosted.simon-cozens.org)\r
47 Cc: notmuch <notmuch@notmuchmail.org>\r
48 Subject: Re: [notmuch] [PATCH] Mail::Notmuch Perl wrapper\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Tue, 26 Jan 2010 09:15:31 -0000\r
62 \r
63 On 26/01/2010 03:30, Ben Gamari wrote:\r
64 > I know practically nothing about writing Perl bindings,\r
65 \r
66 I recommend http://www.manning.com/jenness/ ;)\r
67 \r
68 > but it seems\r
69 > like this might be work better left to a bindings generator. I currently\r
70 > have a patch which enables binding generation through SWIG. It works\r
71 > well, although SWIG unfortunately doesn't have very good support for\r
72 > exposing object-oriented C interfaces like notmuchs' through the target\r
73 > language's type system.\r
74 \r
75 Yes, this is why I chose not to use SWIG: if I'm going to automatically\r
76 get code that doesn't do what I want and then have to manually write\r
77 code that does, why not just manually write code that does? (well,\r
78 semi-manually: xsubpp extracted all the function signatures for me.)\r
79 \r
80 I guess the advantage of SWIG is that it gets you code that you don't\r
81 want in many different languages.\r
82 \r
83 Anyway, whichever way you do it, you'll still need the class\r
84 documentation and the tests - feel free to take them from my patch if\r
85 you end up going the SWIG route for Perl.\r
86 \r
87 Simon\r