[Csnd] semi OT: compilers
Date | 2013-08-02 15:29 |
From | francesco |
Subject | [Csnd] semi OT: compilers |
Hello All, just a curiosity. Having installed LLVM3.2 i've compiled Csound6 with this instead of GCC4.6. Now, because i'm ignorant, what could be the differences in Csound? I mean compilers can generate a better program? Could be Csound more efficiently build? Sorry for this trivial question, it's only curiosity. Thanks, ciao, francesco. -- View this message in context: http://csound.1045644.n5.nabble.com/semi-OT-compilers-tp5726248.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-08-03 21:57 |
From | David Akbari |
Subject | Re: [Csnd] semi OT: compilers |
Hello Francesco, If you tend to use a lot of dynamic waveguide synthesis in your work, prefer to use function tables for sample indexing instead of disk streaming, or like to generate a lot of tables dynamically in a running orchestra, the speed benefits are notable. I am not sure how LLVM works internally but in the case of the Intel compiler there are hardware trigonometry instructions which I hypothesize contribute to the speed up in generating function tables (like sine waves). I had been using the icc/icpc compiler to get a massive speedup when generating function tables on the fly indexing dynamically generated velocity contours with dynamic multi-sample crossfading [between layered samples] in MIDI instruments. You might find specific application success using alternative compilers as well! That said, you can't beat the general compatibility of the gcc compiler. Cheers, David On Fri, Aug 2, 2013 at 9:29 AM, francesco <ilterzouomo@fastwebnet.it> wrote: Hello All, |
Date | 2013-08-03 22:17 |
From | Justin Smith |
Subject | Re: [Csnd] semi OT: compilers |
I hope it isn't pedantic to clarify that gcc isn't compatible with other compilers (even with itself over time). It is portable though (compatible with various architectures?), much more than any other c compiler I know of.
On Sat, Aug 3, 2013 at 1:57 PM, David Akbari <dakbari@gmail.com> wrote:
|