Description

The I/O core library of vibe.d.

Package Information

Version 1.0.0-alpha.9 (2017-Jan-15)
Repository https://github.com/vibe-d/vibe-core
License MIT
Copyright Copyright © 2016, rejectedsoftware e.K.
Authors Sönke Ludwig
Registered by Sönke Ludwig
Dependencies

eventcore

Installation

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

dub.json
dub.sdl

Readme

vibe.d core module

This is the designated successor of the vibe-d:core sub package of vibe.d 0.7.x. The API is mostly compatible from a library user point of view, but the whole library has received some heavy lifting under the surface, close to a rewrite. Most classes have been replaced by reference counting structs and @safe nothrow attributes are now used throughout the library, whenever possible. Adding @nogc still has to be decided, because of its viral nature.

Another major design change is that instead of the previous driver model, there is now a separate, lower-level event loop abstraction (eventcore) which follows a callback based Proactor pattern. The logic to schedule fibers based on events has been pulled out of this abstraction and is now maintained as a single function, leaving to a huge improvment in terms of robustness (most issues in the previous implementation have probably never surfaced in practice, but there turned out to be lots of hidden bugs).

The development state is still heavy work-in-progress.

Build Status

Progress

FeatureState
Task schedulingdone
Concurrencydone
Streamsdone (may be subject to smaller changes)
DNS lookupdone
TCP connectionsdone
UDP connectionsdone
File I/Odone
Directory watchersdone
ManualEventdone
Path/URL typesWIP

Available versions

1.0.0-alpha.9 1.0.0-alpha.8 1.0.0-alpha.7 1.0.0-alpha.6 1.0.0-alpha.5 1.0.0-alpha.4 1.0.0-alpha.3 1.0.0-alpha.2 1.0.0-alpha.1 ~master