Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Broken again

Date2005-03-22 15:27
FromMichael Gogins
SubjectRe: [Cs-dev] Broken again
I have no plan to remove or rewrite this opcode. It should compile and run on any reasonably current version of the GNU Compiler Collection, Intel compiler, or Microsoft compiler. I have not tested it yet, so wait a few days. I will make sure it builds on Linux tonight, and test its functionality.

Both C++ and templates have been used in widgets.cpp, vst4cs, and fluidOpcodes for years. In addition, CsoundVST is written entirely in C++ and makes quite heavy use of templates. I think this proves C++ and templates are OK in Csound. 

In my view, Csound would contain fewer bugs and run slightly faster if it were coded entirely in C++. This view is based on experience and experiments, not opinion. I am prepared to show code samples and experimental results to support this view. I would of course be very interested to review code samples and experimental results that demonstrate the opposite.

-----Original Message-----
From: Istvan Varga 
Sent: Mar 22, 2005 6:04 AM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] Broken again

jpff@codemist.co.uk wrote:

> What is this opcode anyway?  When did it appear?  It is not mentioned
> in teh ChangeLog anywhere.

I think it should be removed or rewritten in C, or at least no templates
should be used.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel





-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-23 15:22
FromIstvan Varga
SubjectRe: [Cs-dev] Broken again
Michael Gogins wrote:

> I have no plan to remove or rewrite this opcode.
 > It should compile and run on any reasonably current version
 > of the GNU Compiler Collection

John ffitch's and mine apparently not included...

> Both C++ and templates have been used in widgets.cpp, vst4cs,
 > and fluidOpcodes for years.

And, as we all know, widgets.cpp was almost as much of a pain
to maintain and make it compile on all platforms as the rest
of the opcodes (less problematic as written in C) combined.
And widgets.cpp still does not work perfectly on all systems.

> In addition, CsoundVST is written entirely in C++ and makes
 > quite heavy use of templates.

No wonder I have never been able to compile it. I always get
thousands of error messages, and have given up on ever getting
it work.

 > I think this proves C++ and templates are OK in Csound.

I disagree, and the fact that mixer.cpp did not compile is just
another evidence.


-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-24 10:53
FromvanDongen/Gilcher
SubjectRe: [Cs-dev] Broken again
AttachmentsNone  

Date2005-03-24 21:13
FromIain Duncan
SubjectRe: [Cs-dev] C/C++ was: Broken again
> (And yes, I think including widgets in core Csound5 was/is a mistake. For one 
> thing it assumes that csound will only be run on general purpose pc's, and 
> that as long as you support windows, Mac and linux you are cross platform. My 
> cell phone has a 400 MHz processor and stereo sound. Csound should run on 
> that, and it will but without the widgets. Including C++ and widgets in the 
> core csound, will just create a forks for other uses. )

This is I think a really good point. I was checking out my friends Nord 
Modular the other day, and thinking that it would be pretty damned cool 
to be able to do the same kind of thing with csound. Make a csound app 
that gets loaded into firmware of a tiny little box with nothing but a 
midi port and a sound port. With microcontrollers and dsp chips getting 
faster and faster, that doesn't seem so far fetched anymore.

Iain


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net