Re: D and event-based programming
vibed.org
Re: D and event-based programming
On Thursday, 17 October 2013 at 19:14:11 UTC, Dicebot wrote: vibed.org vibe.d fully event-based, but also want to learn how to do it with D
Re: D and event-based programming
On Friday, 18 October 2013 at 07:43:58 UTC, Netwalker wrote: On Thursday, 17 October 2013 at 19:14:11 UTC, Dicebot wrote: vibed.org vibe.d fully event-based, but also want to learn how to do it with D The full source is available here: https://github.com/rejectedsoftware/vibe.d?source=cc Look in source/core. I haven't studied it myself, so I cannot help you much more than this link :/
Re: D and event-based programming
On Friday, 18 October 2013 at 07:43:58 UTC, Netwalker wrote: On Thursday, 17 October 2013 at 19:14:11 UTC, Dicebot wrote: vibed.org vibe.d fully event-based, but also want to learn how to do it with D vibe.d internally uses libevent & win32 event drivers for actual event implementation (via C bindings). You can refer to any existing documentation for libevent for C to figure this out (https://github.com/D-Programming-Deimos/libevent)