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

Re: Python bindings

From: Ben Reser <ben_at_reser.org>
Date: 2004-04-27 23:37:49 CEST

On Tue, Apr 20, 2004 at 07:40:01PM +0200, Lele Gaifax wrote:
> But even then, saying that there is an effective code sharing between
> the bindings is a bit optimistic: the hardest part /introduced/ by
> SWIG is that you need go and implement a wrapper for each object / for
> each language. Yes, the /declarations/ are in common, but the hard
> work of dealing with arguments-transformer-function coupled with
> this-and-that function signature is a pita.

Sure, but every language is a little different. What you're not
accounting for is that while specific implementation details may differ
many of the problems encountered by the Python bindings are identical to
the problems encountered by the Perl bindings.

I've often found it useful to look at the Python bindings to figure out
how they dealt with a problem. In many cases what we have to do
implemented in psuedo code is identical, differing only by the calls to
different functions in APIs provided by the languages we're using.

Ben Reser <ben@reser.org>
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 27 23:38:09 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.