Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 691204196F5 for ; Sat, 22 May 2010 00:27:10 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.009 X-Spam-Level: X-Spam-Status: No, score=0.009 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, T_MIME_NO_TEXT=0.01] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wLUIsnhmZKck for ; Sat, 22 May 2010 00:26:59 -0700 (PDT) Received: from bach.exherbo.org (bach.exherbo.org [78.47.197.147]) by olra.theworths.org (Postfix) with ESMTP id 4081B4196F2 for ; Sat, 22 May 2010 00:26:59 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=harikalardiyari.ev ident=alip) by bach.exherbo.org with esmtp (Exim 4.69) (envelope-from ) id 1OFj6n-0005P1-6z for notmuch@notmuchmail.org; Sat, 22 May 2010 07:26:57 +0000 From: Ali Polatel To: notmuch@notmuchmail.org Subject: Notmuch Ruby bindings User-Agent: Notmuch/0.3.1-18-g7d77c10 (http://notmuchmail.org) Emacs/23.2.1 (amd64-portbld-freebsd8.1) Date: Sat, 22 May 2010 10:26:52 +0300 Message-ID: <8639xkv1kz.fsf@harikalardiyari.ev> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2010 07:27:10 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable Hey all, I've written Ruby bindings for the notmuch library. Here are related links: Gitweb: http://github.com/alip/notmuch/tree/ruby Git: git://github.com/alip/notmuch.git (branch ruby) API documentation: http://dev.exherbo.org/~alip/notmuch/ruby/ Building is simple: =2D Clone the git url mentioned above and switch to the ruby branch. =2D Build the notmuch library =2D cd bindings/ruby =2D ruby extconf.rb =2D make This is written in pure C, unlike Python bindings, which uses ctypes. This means it should be a bit faster but possibly more buggy, especially the garbage collection routines. I've tried hard to make Ruby's GC play nice with notmuch's talloc based memory allocation but I can't be sure if it's bug-free. I haven't written any examples yet but the API documentation should be clear enough for one to understand and dive in. As usual, any comments, patches welcome. =2D-=20 Regards, Ali Polatel --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkv3hz8ACgkQQU4yORhF8iBSjQCfdKx26bTXGUvnB0zM/nxL+5jC tPQAn1D9zUVJRlRTzvCIeQlmxTik803E =6BZ8 -----END PGP SIGNATURE----- --=-=-=--