Csound Csound-dev Csound-tekno Search About

Re: csound parser

Date1998-02-16 10:02
FromGabriel Maldonado
SubjectRe: csound parser
Larry Troxler wrote:

> It is a myth that C++ is somehow slower than the same code in C.
> Efficiency is not a valid concern.

In modern developing toolkits C++ compiler is exactly the same as C
compiler. The only difference is the programming style: a good
object-oriented style normally should be easily readable (sometimes also
redoundant) and this not always goes in parallel with speed. Also the
data hiding and the access of private variables by means of member
functions is not always the best, if you are looking at the pure
efficiency.

--
Gabriel Maldonado

mailto:g.maldonado@agora.stm.it
http://www.agora.stm.it/G.Maldonado/home2.htm
http://www.geocities.com/SiliconValley/Way/7041/home2.htm




Date1998-02-17 14:09
FromLarry Troxler
SubjectRe: csound parser
On Mon, 16 Feb 1998, Gabriel Maldonado wrote:

> Larry Troxler wrote:
> 
> > It is a myth that C++ is somehow slower than the same code in C.
> > Efficiency is not a valid concern.
> 
> In modern developing toolkits C++ compiler is exactly the same as C
> compiler. The only difference is the programming style: a good
> object-oriented style normally should be easily readable (sometimes also
> redoundant) and this not always goes in parallel with speed. 

Usually, the a good design does not affect speed, but yes, sometimes there
are tradeoffs. But this tradeoff has absolutely nothing to do with the
choice of language.

Also the
> data hiding and the access of private variables by means of member
> functions is not always the best, if you are looking at the pure
> efficiency.

So, then don't use member functions where speed is a concern, It sounds
like you're saying that if you have a toolbox, you must use everything in
it. I don't understand your logic.

 > 
> --
> Gabriel Maldonado
> 
> mailto:g.maldonado@agora.stm.it
> http://www.agora.stm.it/G.Maldonado/home2.htm
> http://www.geocities.com/SiliconValley/Way/7041/home2.htm
> 
> 
> 
> 

--  Larry Troxler  --  lt@westnet.com  --  Patterson, NY USA  --