Description

Pro-actor based abstraction layer over operating system asynchronous I/O facilities.

Package Information

Version 0.7.1 (2017-Jan-22)
Repository https://github.com/vibe-d/eventcore
License MIT
Copyright Copyright © 2012-2016 rejectedsoftware e.K.
Registered by Sönke Ludwig
Dependencies

taggedalgebraic

Installation

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

dub.json
dub.sdl

Readme

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
SelectEventDriveryesyesyes¹yes¹
EpollEventDriveryesnonono
WinAPIEventDrivernoyesnono
KqueueEventDrivernonoyes¹yes¹

¹ planned, but not currenly implemented

Driver development status

FeatureSelectEventDriverEpollEventDriverWinAPIEventDriverKqueueEventDriver
TCP Socketsyesyesnono
UDP Socketsyesyesnono
USDSyesyesnono
DNSyesyesnono
Timersyesyesyesno
Eventsyesyesyesno
Unix Signalsyes²yes²nono
Filesyesyesyesno
UI Integrationnonoyesno
File watcheryes²yes²yesno

² Currently only supported on Linux

Open questions

  • Error code reporting
  • Adopting existing file descriptors (done for files)
  • Enqueued writes

Available versions

0.7.1 0.7.0 0.6.0 0.5.7 0.5.6 0.5.5 0.5.4 0.5.3 0.5.2 0.5.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 0.1.1 ~master