[ODE] C++

Russ Smith russ at q12.org
Sun Nov 4 19:17:01 MST 2001


Colin Reed wrote:
> I see, good answer, in that case is there any real need for a C++
> interface, would it not just be less time consuming to only support a
> C interface and be done with it?

i like C++, i use it all the time, but i've seen (and participated in)
way too many flame wars about what is "right" when it comes to C++
interface design. often people want to add too much stuff because C++
has way too many nifty features that just *have* to be used. so a core
C API with a C++ wrapper on top of that is a way of keeping things
simple and streamlined.

the C++ interface is there as a kind of experiment, and as a way to
keep happy the people who need an OOP security blanket :)
actually SWIG might be a better way to generate the C++ interface,
but i've heard that SWIG is a bit clunky.

russ.

--
Russell Smith
http://www.q12.org




More information about the ODE mailing list