[gambit-list] Gambit and event-based systems
asandroq at gmail.com
Thu Aug 7 07:56:55 EDT 2014
On Thu, Aug 7, 2014 at 1:46 PM, Álvaro Castro-Castilla
<alvaro.castro.castilla at gmail.com> wrote:
> Specially in the mobile world, there are many platforms that force the developer to think and code its applications around events. Sometimes this is done with virtual functions or interface implementation, overriding methods, or plain C-style callbacks.
> The problem is, in any of these cases, generally the main loop is controlled by the application. Since Gambit runs within the ___setup(params) function, and then quits (expecting ___cleanup() to be called), there is no way to easily adapt to this architecture except for running in a separate thread and communicating through messages or shared data.
> Is there a better way to do this?
Why can't you package your program as a C library that has an API for
More information about the Gambit-list