eventcore 0.8.3

Pro-actor 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.

DUB Package Posix Build Status Windows Build Status

Supported drivers and operating systems

DriverLinuxWindowsmacOSFreeBSDAndroidiOS
SelectEventDriveryesyesyesyes¹
EpollEventDriveryes
WinAPIEventDriveryes
KqueueEventDriveryesyes¹
LibasyncEventDriver—¹—¹—¹—¹

¹ planned, but not currenly implemented

Driver development status

FeatureSelectEventDriverEpollEventDriverWinAPIEventDriverKqueueEventDriver
TCP Socketsyesyesyes
UDP Socketsyesyesyes
USDSyesyesyes
DNSyesyesyesyes
Timersyesyesyesyes
Eventsyesyesyesyes
Unix Signalsyes²yes²
Filesyesyesyesyes
UI Integrationyes¹yes¹yesyes¹
File watcheryes²yes²yes
FeatureLibasyncEventDriver
TCP Sockets
UDP Sockets
USDS
DNS
Timers
Events
Unix Signals
Files
UI Integration
File watcher

¹ Manually, by adopting the X11 display connection socket

² Currently only supported on Linux

Open questions

  • Error code reporting
  • Adopting existing file descriptors (done for files)
  • Enqueued writes
  • Use the type system to prohibit passing thread-local handles to foreign threads
Dependencies:
taggedalgebraic
Versions:
0.8.35 2018-Jun-05
0.8.34 2018-Mar-20
0.8.33 2018-Mar-18
0.8.32 2018-Mar-16
0.8.31 2018-Mar-14
Show all 55 versions
Download Stats:
  • 946 downloads today

  • 6805 downloads this week

  • 18918 downloads this month

  • 190143 downloads total

Score:
4.6
Short URL:
eventcore.dub.pm