Csound Csound-dev Csound-tekno Search About

[Csnd] Csound compiled to native

Date2020-04-24 20:53
FromRoger Kelly
Subject[Csnd] Csound compiled to native
Has anyone explored the possibility of compiling  an orchestra to a native exe vs running as interpreted code?  I am trying to optimize  for a Rasp zero.  Would this concept even make sense at all  with current code base?  I was thinking of exploring LLVM .
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2020-04-24 21:01
FromDave Seidel
SubjectRe: [Csnd] Csound compiled to native
I'm not one of the Csound devs (though I am a developer by profession), so someone will correct me if I'm mistaken, but my impression is that the in-memory representation of a Csound orchestra is efficient and quite performant. I'm not convinced that compilation to native code would yield benefits worth the effort of building the compiler. In fact, it would probably just make the development cycle slower.

On Fri, Apr 24, 2020 at 3:54 PM Roger Kelly <loraxman@gmail.com> wrote:
Has anyone explored the possibility of compiling  an orchestra to a native exe vs running as interpreted code?  I am trying to optimize  for a Rasp zero.  Would this concept even make sense at all  with current code base?  I was thinking of exploring LLVM .
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2020-04-24 22:32
FromJosh Moore
SubjectRe: [Csnd] Csound compiled to native
I agree with Dave. Not one of the Csound devs either but the best optimization you will have would be by choosing opcodes wisely. Ie, don't use lots of vcos and pre-compute your tables instead. There is always more than one way to do something. 

I thi

On Fri, Apr 24, 2020 at 1:02 PM Dave Seidel <dave.seidel@gmail.com> wrote:
I'm not one of the Csound devs (though I am a developer by profession), so someone will correct me if I'm mistaken, but my impression is that the in-memory representation of a Csound orchestra is efficient and quite performant. I'm not convinced that compilation to native code would yield benefits worth the effort of building the compiler. In fact, it would probably just make the development cycle slower.

On Fri, Apr 24, 2020 at 3:54 PM Roger Kelly <loraxman@gmail.com> wrote:
Has anyone explored the possibility of compiling  an orchestra to a native exe vs running as interpreted code?  I am trying to optimize  for a Rasp zero.  Would this concept even make sense at all  with current code base?  I was thinking of exploring LLVM .
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here