On Wed, Dec 30, 2009 at 9:15 PM, Sam Roberts
<vieuxtech@gmail.com> wrote:
On Wed, Dec 30, 2009 at 3:08 PM, Tiago Katcipis <
tiagokatcipis@gmail.com> wrote:
> I am inspired by the examples on Qt, GTK, wx etc, i already used all them,
> but i wanted something more generic, not GUI related.
Many of the api details of the event implementations for c/c++ seem to
me to exist as
an artifact of static typing. Its difficult enough to call aribtrary
methods on objects of arbitrary unknown
types in C++ that you want to wrap the cleverness into a library (and
a pre-compiler, in Qt's case).
To be honest, the more i think about it the more it sens pretty simple to me, but even if it is simple, maybe it would be cool to have it done, so everyone can use and improve it, instead of everyone writing its own. Even freeswitch has a model of hierarchic events that is pretty interesting and powerful.
Doing this in lua is so trivial that I'm not sure what it would look
like.
Me neither, and I'm very new to Lua, I'm only used to develop on Python/C/C++
If you do implement it, especially
with your experience in with so many other event systems, I'd be very
interested in seeing what it
looks like.
Well I'm experienced with this other systems but i do not master them :-), i don't know if i will have a good idea of how to implement it on Lua, that's exactly why I'm trying to get some help from you guys.
Cheers,
Sam