I like SWIG (well, it facilitates wrappers for Python really well),
but it's not perfect. 

I've not delved into the difficulties in any detail yet, but we've had
problems with mixing SWIG and Boost.python for connections with Python
code -- and the Boost.python mechanism "feels" like DTL's RS<your
language here> code, where as SWIG doesn't quite have the same flavor.

(sorry for failing on the details, but I'm doing something else
today).




Duncan Murdoch <[EMAIL PROTECTED]> writes:

> On Wed, 14 Jul 2004 08:01:28 -0700, Duncan Temple Lang
> <[EMAIL PROTECTED]> wrote :
>
>>SWIG is an extensible system and so people
>>other than the SWIG developers can indeed 
>>provide facilities for supporting R.
>>I am surprised nobody has done it yet
>>and remember asking you whether you had considered
>>using SWIG for your OpenGL about 3 years ago.
>
> Sorry, I forgot about that.
>
> I don't think SWIG would be much help with OpenGL, because there the
> difficulty is in translating the R ideas of what data is like and what
> people want to do with it into corresponding concepts in OpenGL, the
> actual calls to the OpenGL API are a pretty easy part of the whole
> exercise.  In any case, they probably have to be written in compiled
> code for performance reasons, since you make so many OpenGL calls 
> for every frame being drawn.
>
> But I'm sure there are other libraries where this isn't true, and SWIG
> would be useful for them.  Maybe Hisaji has one, and would want to
> tackle the R support.
>
> Duncan Murdoch
>
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
Anthony Rossini                     Research Associate Professor
[EMAIL PROTECTED]            http://www.analytics.washington.edu/ 
Biomedical and Health Informatics   University of Washington
Biostatistics, SCHARP/HVTN          Fred Hutchinson Cancer Research Center
UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable
FHCRC  (M/W): 206-667-7025 FAX=206-667-4812 | use Email

CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to