[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Perl bindings for Subversion using SWIG

From: <gstein_at_lyra.org>
Date: 2003-01-24 19:57:39 CET

On Fri, Jan 24, 2003 at 08:29:49AM -0500, pwd@mdtsoft.com wrote:
 On 23 Jan, Rafael Garcia-Suarez wrote:
  pwd@mdtsoft.com wrote:
  I would like to work on a set of perl bindings for subversion.
  
  Great !

I'll echo that. People have said in the past they'd like to work on them,
but we haven't seen anything yet. There certainly isn't a worry that you're
duplicating effort (the last I heard was way back in July).

  the obvious way to do this is to use swig (at least I think that it is
  obvious).
  
  Obvious in the way that other languages bindings for Subversion are
  done via SWIG. However SWIG isn't much used in the Perl world, where
  XS (the native extension mechanism) and Inline::C are more widely
  supported. XS is arguably difficult to use, but Inline::C is very
  simple.

I heard the same thing. Oh, use XS instead of SWIG. Perl users don't like
SWIG. But the people who said that to me didn't follow up with XS, so I say
fooey on them.

IMO, SWIG is going to be the fastest way to get bindings. Assuming that the
SWIG Perl stuff is working great, then these bindings should work just
great, XS be damned :-)

 I have used XS some but as the swig xxx.i files are already written
 it looks like swig should be not too hard.

If you're at all familiar with writing Perl extensions, then yes, it
shouldn't be too hard.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:14:59 2006

This is an archived mail posted to the Subversion Dev mailing list.