From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William S Fulton Newsgroups: gmane.comp.programming.swig,gmane.lisp.guile.user Subject: Re: swig guile2 Date: Mon, 21 Mar 2011 20:32:18 +0000 Message-ID: <4D87B5D2.5040800@fultondesigns.co.uk> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1300739641 21822 80.91.229.12 (21 Mar 2011 20:34:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2011 20:34:01 +0000 (UTC) Cc: guile-user@gnu.org, swig-user@lists.sourceforge.net, Matthias Koeppe To: Tristan Colgate Original-X-From: swig-user-bounces@lists.sourceforge.net Mon Mar 21 21:33:56 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 1Q1lnX-00053b-ND for gcps-swig-user@m.gmane.org; Mon, 21 Mar 2011 21:33:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.74) (envelope-from ) id 1Q1ln3-00073I-7p; Mon, 21 Mar 2011 20:33:25 +0000 Original-Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.74) (envelope-from ) id 1Q1ln2-00073D-5j for swig-user@lists.sourceforge.net; Mon, 21 Mar 2011 20:33:24 +0000 X-ACL-Warn: Original-Received: from mail-ww0-f53.google.com ([74.125.82.53]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.74) id 1Q1lmy-0006xb-Bo for swig-user@lists.sourceforge.net; Mon, 21 Mar 2011 20:33:24 +0000 Original-Received: by wwj40 with SMTP id 40so8206273wwj.10 for ; Mon, 21 Mar 2011 13:33:14 -0700 (PDT) Original-Received: by 10.216.173.12 with SMTP id u12mr6045806wel.18.1300739546115; Mon, 21 Mar 2011 13:32:26 -0700 (PDT) Original-Received: from [188.28.90.127] (188.28.90.127.threembb.co.uk [188.28.90.127]) by mx.google.com with ESMTPS id h19sm2919464wbc.58.2011.03.21.13.32.21 (version=SSLv3 cipher=OTHER); Mon, 21 Mar 2011 13:32:23 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 In-Reply-To: X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. X-Headers-End: 1Q1lmy-0006xb-Bo 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:17098 gmane.lisp.guile.user:8548 Archived-At: On 19/03/11 20:08, Tristan Colgate wrote: > Hi All, > > I'm working on a couple of projects using guile and swig and > recently did some work to put together a guile2 module for swig. > > I started out by trying to add guile2 support to the existing guile > support but the focus on the old GH interface meant things started to > get messy so I've basically copied the old guile module and removed > all the legacy gh support and updated the memory management for > guile2. > > It is a bit of a hack but as far as I can tell it is working OK for > me at the moment. > > I thought now would be a good time to announce the effort and gauge opinion. > > Guile2 has lots of nice features and I think a dedicated module > could do interesting things without breaking legacy support. Guile 2 > has an FFI that could potententially be useful in the future (I like > SWIGs typemaps far too much to have moved away from swig all together > though). > Are you proposing a 2nd SWIG Guile module in addition to the current module? > The code is currently on github, and I would welcome feedback. It is > a bit rough and ready, and my knowledge of SWIG internals is pretty > rudimentary, so I'd welcome comment and advise (and patches), from all > sides. > > http://github.com/tcolgate/swig-guile2 > > Be sure to check out the guile2 branch. > 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 Guile - 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? BTW, there is the swig -scm option for guile 1.6+. So there seems to be GH and SCM and now guile 2 API... does that sound right that there are so many C interfaces or is your Guile 2 interface just SCM? William ------------------------------------------------------------------------------ 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