Csound Csound-dev Csound-tekno Search About

Re: [Csnd] luacsnd6

Date2018-02-03 08:32
FromFrancesco Porta
SubjectRe: [Csnd] luacsnd6
Hello Michael,
just to understand do you suggest not using anymore LuaCsnd6,
and using instead luajit ffi?
And may ask why?

Thanks,
ciao,
francesco


 

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

Date2018-02-03 12:36
FromMichael Gogins
SubjectRe: [Csnd] luacsnd6
If a foreign function interface is feasible and stable it is preferable to a generated interface.  People  now use ctcsound.py for that reason. FFIs are inherently cross platform and can perform well if part of a JIT. 

Can you tell us more about your needs?

Regards, 
Mike

On Feb 3, 2018 03:32, "Francesco Porta" <francescoarmandoporta@gmail.com> wrote:
Hello Michael,
just to understand do you suggest not using anymore LuaCsnd6,
and using instead luajit ffi?
And may ask why?

Thanks,
ciao,
francesco




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

Date2018-02-03 15:11
FromJohann Philippe <000002c2c0737523-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] luacsnd6
Thank you Michael, the foreign function interface works perfectly fine here (i tried the example  on the link).
I'll learn more about this.

Johann
Le samedi 3 février 2018 à 13:37:03 UTC+1, Michael Gogins <michael.gogins@GMAIL.COM> a écrit :


If a foreign function interface is feasible and stable it is preferable to a generated interface.  People  now use ctcsound.py for that reason. FFIs are inherently cross platform and can perform well if part of a JIT. 

Can you tell us more about your needs?

Regards, 
Mike

On Feb 3, 2018 03:32, "Francesco Porta" <francescoarmandoporta@gmail.com> wrote:
Hello Michael,
just to understand do you suggest not using anymore LuaCsnd6,
and using instead luajit ffi?
And may ask why?

Thanks,
ciao,
francesco




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

Date2018-02-03 15:15
FromMichael Gogins
SubjectRe: [Csnd] luacsnd6
Glad it worked!

Mike

On Feb 3, 2018 10:11 AM, "Johann Philippe" <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote:
Thank you Michael, the foreign function interface works perfectly fine here (i tried the example  on the link).
I'll learn more about this.

Johann
Le samedi 3 février 2018 à 13:37:03 UTC+1, Michael Gogins <michael.gogins@GMAIL.COM> a écrit :


If a foreign function interface is feasible and stable it is preferable to a generated interface.  People  now use ctcsound.py for that reason. FFIs are inherently cross platform and can perform well if part of a JIT. 

Can you tell us more about your needs?

Regards, 
Mike

On Feb 3, 2018 03:32, "Francesco Porta" <francescoarmandoporta@gmail.com> wrote:
Hello Michael,
just to understand do you suggest not using anymore LuaCsnd6,
and using instead luajit ffi?
And may ask why?

Thanks,
ciao,
francesco




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
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

Date2018-02-03 16:25
Fromfra
SubjectRe: [Csnd] luacsnd6
Thanks.

Well i use luaJIT with lgi (GTK) for building simple GUI to communicate 
to Csound.

Simply i'm so used to this way and i'm lazy :)

I find using ffi a little bit more complicated for my skills.

Anyway maybe it's time for me to change language and start using 
javascript and wasm.

Again thanks,

ciao,

francesco.

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