Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Status Update Request

Date2007-01-10 22:08
FromMichael Gogins
SubjectRe: [Cs-dev] Status Update Request
Thanks for the information. 

I actually have had a very good experience wrapping quite complex C++ libraries, with multiple inheritance and templates, using SWIG, for Python. I have had some success also using SWIG to wrap these same libraries for Java, Lua, and Lisp CFFI, although the multiple inheritance tends to fall off or be abstracted as a member relationship.

Regards,
Mike

-----Original Message-----
>From: Erik de Castro Lopo 
>Sent: Jan 10, 2007 3:43 PM
>To: csound-devel@lists.sourceforge.net
>Subject: Re: [Cs-dev] Status Update Request
>
>Michael Gogins wrote:
>
>> -- Change the CSOUND structure to a proper C++ class. This would make
>> it much easier both to extend, and to maintain, Csound and the Csound
>> API. It would not make Csound slower.
>
>Creating bindings for other high level languages is usually far easier
>when wrapping C than when wrapping C++.
>
>MY personal favourite among the high level languages is Ocaml. I am in
>the prcoess of creating a binding for libsndfile and its really not
>very difficult. I have also looked into wrapping a C++ library and
>found that to be a complete nightmare, so much so that I probably
>won't pursure it any futher.
>
>Erik
>-- 
>+-----------------------------------------------------------+
>  Erik de Castro Lopo
>+-----------------------------------------------------------+
>"The question of whether a computer can think is no more interesting 
>than the question of whether a submarine can swim." -- edsger dijkstra
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net