Databases and the D Standard Library

rikki cattermole via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 1 18:50:46 PST 2017


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


More information about the Digitalmars-d mailing list