From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tristan Colgate Newsgroups: gmane.comp.programming.swig,gmane.lisp.guile.user Subject: Re: swig guile2 Date: Tue, 22 Mar 2011 08:16:03 +0000 Message-ID: References: <4D87B5D2.5040800@fultondesigns.co.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1300781815 26294 80.91.229.12 (22 Mar 2011 08:16:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2011 08:16:55 +0000 (UTC) Cc: guile-user@gnu.org, swig-user@lists.sourceforge.net, Matthias Koeppe To: William S Fulton Original-X-From: swig-user-bounces@lists.sourceforge.net Tue Mar 22 09:16:51 2011 Return-path: Envelope-to: gcps-swig-user@m.gmane.org Original-Received: from lists.sourceforge.net ([216.34.181.88]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1wlm-0005Oy-Tk for gcps-swig-user@m.gmane.org; Tue, 22 Mar 2011 09:16:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.74) (envelope-from ) id 1Q1wlA-0002kX-DE; Tue, 22 Mar 2011 08:16:12 +0000 Original-Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.74) (envelope-from ) id 1Q1wl8-0002kS-ME for swig-user@lists.sourceforge.net; Tue, 22 Mar 2011 08:16:10 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.175 as permitted sender) client-ip=74.125.82.175; envelope-from=tcolgate@gmail.com; helo=mail-wy0-f175.google.com; Original-Received: from mail-wy0-f175.google.com ([74.125.82.175]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.74) id 1Q1wl7-0005F0-Ig for swig-user@lists.sourceforge.net; Tue, 22 Mar 2011 08:16:10 +0000 Original-Received: by wyb40 with SMTP id 40so7867808wyb.34 for ; Tue, 22 Mar 2011 01:16:03 -0700 (PDT) Original-Received: by 10.216.35.83 with SMTP id t61mr6225035wea.1.1300781763360; Tue, 22 Mar 2011 01:16:03 -0700 (PDT) Original-Received: by 10.216.254.136 with HTTP; Tue, 22 Mar 2011 01:16:03 -0700 (PDT) In-Reply-To: <4D87B5D2.5040800@fultondesigns.co.uk> X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is freemail (tcolgate[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 AWL AWL: From: address is in the auto white-list X-Headers-End: 1Q1wl7-0005F0-Ig X-BeenThere: swig-user@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: swig-user-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.comp.programming.swig:17101 gmane.lisp.guile.user:8549 Archived-At: On 21 March 2011 20:32, William S Fulton wrote: > Are you proposing a 2nd SWIG Guile module in addition to the current modu= le? The code as it stands is exactly that, a new module. I have worked under the assumption that breaking the existing guile support was taboo. > I am no guile user, so can't help on the Guile side. The guile SWIG module > is suffering neglect and doesn't seem to work with modern versions of Gui= le > - the test-suite fails for me. Only very rarely are there Guile queries on > the SWIG mailing list, so suspect it isn't used much. Would it make sense= to > drop the older Guile interface altogether and just use Guile 2? The existing guile module support the gh_ interface and the older version of the SCM interface. It also doesn't work with guiles current GC. It's entirely useless for the current version of guile. I had assumed that since SWIG still ships it, enough people care about legacy guile support to not want it broken. I've only just started looking into getting the test-suite working with my guile2 work, but I do intend on getting it to the point where it all passes. For me personally, the old guile module is no longer useful. However, guile 2.0 is not widely deployed in distributions yet and that may take some time. > BTW, there > is the swig -scm option for guile 1.6+. So there seems to be GH and SCM a= nd > now guile 2 API... does that sound right that there are so many C interfa= ces > or is your Guile 2 interface just SCM? The -scm support works by mapping the old SCM interface to the GH interface.. Almost all the scm_ calls used by the existing guile module are deprecated. I tried implementing and -scm2 option within the existing module but it was more awkward than I could bare. I'm not sure that there is going to be enormous support for this within the guile community either really. Guile 2 ships with a new FFI and using that is, obviosuly, of more interest to them. I've struggled wrapping legacy APIs with it though and SWIG really is rather good. -- = Tristan Colgate-McFarlane ---- =A0 "You can get all your daily vitamins from 52 pints of guiness, and a glass of milk" ---------------------------------------------------------------------------= --- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software = be a part of the solution? Download the Intel(R) Manageability Checker = today! http://p.sf.net/sfu/intel-dev2devmar