Git Product home page Git Product logo

eventcore's Introduction

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.

The API documentation is part of vibe.d:

DUB Package Posix Build Status Windows Build Status

Supported drivers and operating systems

Driver Linux Windows macOS FreeBSD Android iOS
SelectEventDriver yes yes yes yes¹
EpollEventDriver yes
WinAPIEventDriver yes
KqueueEventDriver yes yes¹
LibasyncEventDriver —¹ —¹ —¹ —¹

¹ planned, but not currenly implemented

Supported compilers

The following compilers are tested and supported:

  • DMD 2.087.1
  • DMD 2.086.1
  • DMD 2.085.1
  • DMD 2.084.1
  • DMD 2.079.0
  • LDC 1.17.0
  • LDC 1.16.0
  • LDC 1.15.0
  • LDC 1.14.0
  • LDC 1.13.0
  • LDC 1.9.0

Driver development status

Feature \ EventDriver Select Epoll WinAPI Kqueue Libasync
TCP Sockets yes yes yes yes
UDP Sockets yes yes yes yes
USDS yes yes yes
DNS yes yes yes yes
Timers yes yes yes yes
Events yes yes yes yes
Unix Signals yes² yes
Files yes yes yes yes
UI Integration yes¹ yes¹ yes yes¹
File watcher yes² yes yes yes²
Pipes yes yes yes
Processes yes yes yes

¹ Manually, by adopting the X11 display connection socket

² Systems other than Linux use a polling implementation

Open questions

  • Error code reporting
  • Enqueued writes
  • Use the type system to prohibit passing thread-local handles to foreign threads

eventcore's People

Contributors

andrejmitrovic avatar benjaminschaaf avatar boris-barboris avatar calebccff avatar cogitri avatar dkgroot avatar dlang-bot avatar geod24 avatar kubo39 avatar l-kramer avatar marcioapm avatar martinnowak avatar panke avatar pinver avatar rracariu avatar s-ludwig avatar wekaio-yuvalz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.