[C++-sig] Re: [Implementation] Calling wrapped functions, converters, policies

David Abrahams dave at boost-consulting.com
Fri Sep 19 16:59:43 CEST 2003


Prabhu Ramachandran <prabhu at aero.iitm.ernet.in> writes:

>>>>>> "RWGK" == Ralf W Grosse-Kunstleve <rwgk at yahoo.com> writes:
>
>     RWGK> --- David Abrahams <dave at boost-consulting.com> wrote:
>     >> What's the difference between custom-written interface files
>     >> and custom-written Pyste scripts?
>
>     RWGK> Can you have if statements, loops and subroutines in SWIG
>     RWGK> interface files, or importable modules that concentrate
>     RWGK> frequently used functionality?  Also, how do the C++ parsers
>     RWGK> in g++ and SWIG compare?  
>
> AFAIK with SWIG, if's are possible, loops are not.  You can define
> quite powerful macros and you could call them 'subroutines'.  The SWIG
> C++ parser is not perfect but works with most C++.  It is however
> *really* fast compared to g++/GCC_XML, I'd say about 10x faster.

I wonder how the parser used in Synopsis (synopsis.sf.net) compares
in speed?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list