Databases and the D Standard Library

Adam Wilson via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 1 19:44:00 PST 2017


rikki cattermole wrote:
> On 02/01/2017 3:03 PM, Adam Wilson wrote:
>> rikki cattermole wrote:
>>> On 01/01/2017 5:19 PM, Adam D. Ruppe wrote:
>>>> On Sunday, 1 January 2017 at 03:51:52 UTC, rikki cattermole wrote:
>>>>> Which is fine if all you use is c's sockets or only that database
>>>>> connection for a thread.
>>>>
>>>> The C drivers typically offer handles of some sort (Windows HANDLE,
>>>> *nix
>>>> file descriptor, that kind of thing) that you can integrate into other
>>>> event loops.
>>>
>>> That's fine and all, but you've still got to deal with it on D's side so
>>> you can mix and match libraries that require access to the same event
>>> loop (such as Windows).
>>
>> Vibe.d is working on a native D event loop. We would probably want to
>> integrate with that.
>>
>> EventCore: https://code.dlang.org/packages/eventcore
>>
>
> No, it isn't generic enough.
> Nor can it handle windowing without a good bit of modifications.
>
> Mine in SPEW[0] is however ready for this task.
>
> [0]
> https://github.com/Devisualization/spew/tree/master/src/base/cf/spew/event_loop
>

How much effort to make the changes? Their plans seem to indicate that 
they want to support UI integration. I ask because I need to use the 
library that is going to get the most support over time and that is 
vibe.d right now.

-- 
Adam Wilson
IRC: LightBender
import quiet.dlang.dev;


More information about the Digitalmars-d mailing list