8c0660781d
Removes some invalid safety annotations and adds a workaround for a starvation issue in Task.join() across threads boundaries. This is still not thread-safe, but now has a safety-net and is documented, so that it doesn't get lost. |
||
---|---|---|
examples/bench-dummy-http-server | ||
source/vibe | ||
tests | ||
.gitignore | ||
.travis.yml | ||
dub.sdl | ||
README.md | ||
travis-ci.sh |
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.
Progress
Feature | State |
---|---|
Task scheduling | done |
Concurrency | done |
Streams | done (may be subject to further changes) |
DNS lookup | done |
TCP connections | done |
UDP connections | WIP |
File I/O | done |
Directory watchers | done |
ManualEvent | unstable |
Path/URL types | WIP |