lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ question on wrapper API for setting Guile fluids


From: Jean Abou Samra
Subject: Re: C++ question on wrapper API for setting Guile fluids
Date: Thu, 21 Apr 2022 23:45:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

Le 21/04/2022 à 23:35, David Kastrup a écrit :
Properties will be coded a lot in Scheme.  So the interface needs to map
naturally to Scheme programming.


Well, the C++ and Scheme interfaces can feel different and idiomatic
in their respective languages as long as they share the same
underlying implementation.

In the same vein, although Guile has scm_dynamic_wind (), the
recommended C interface is scm_dynwind_begin () / scm_dynwind_end ()
because that is more scalable in C code.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]