eventcore 0.4.0

Experimental callback based abstraction layer over operating system asynchronous I/O facilities.


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

EventCore

This is a high-performance native event loop abstraction for D, focused on asynchronous I/O and GUI message integration. The API is callback (delegate) based. For a higher level fiber based abstraction, take a look at vibe.d.

Build Status

Supported drivers and operating systems

DriverLinuxWindowsOS XFreeBSD
SelectEventDriveryesyes¹yes¹yes¹
EpollEventDriveryesnonono
IOCPEventDrivernoyes¹nono
KqueueEventDrivernonoyes¹yes¹

¹ planned, but not currenly implemented

Driver development status

FeatureSelectEventDriverEpollEventDriverIOCPEventDriverKqueueEventDriver
TCP Socketsyesyesnono
UDP Socketsyesyesnono
USDSyesyesnono
DNSyesyesnono
Timersyesyesnono
Eventsyesyesnono
Signalsyes²yes²nono
Filesyesyesnono
UI Integrationnononono
File watcheryes²yes²nono

² Currently only supported on Linux

Open questions

  • Error code reporting
  • Adopting existing file descriptors
  • Enqueued writes
Dependencies:
none
Versions:
0.8.39 2018-Oct-27
0.8.38 2018-Oct-26
0.8.37 2018-Oct-25
0.8.36 2018-Oct-02
0.8.35 2018-Jun-05
Show all 58 versions
Download Stats:
  • 1238 downloads today

  • 7121 downloads this week

  • 28812 downloads this month

  • 322500 downloads total

Score:
4.7
Short URL:
eventcore.dub.pm