eventcore 0.7.1

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


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

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
Dependencies:
taggedalgebraic
Versions:
0.9.30 2024-Mar-26
0.9.29 2024-Mar-15
0.9.28 2024-Jan-12
0.9.27 2023-Dec-13
0.9.26 2023-Sep-16
Show all 103 versions
Download Stats:
  • 510 downloads today

  • 4359 downloads this week

  • 23555 downloads this month

  • 1680243 downloads total

Score:
4.7
Short URL:
eventcore.dub.pm