Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement typed cross-task channels #25

Merged
merged 5 commits into from
Jan 20, 2019
Merged

Implement typed cross-task channels #25

merged 5 commits into from
Jan 20, 2019

Conversation

s-ludwig
Copy link
Member

Sketches a Channel class, similar to Go's channels, to enable CSP style programming. They are also more efficient than the dynamically typed message queues used by std.concurrency.

The basic functionality is there, but various design questions are still unresolved.

@dlang-bot dlang-bot added the WIP label Jul 18, 2017
@s-ludwig s-ludwig changed the title [WIP] Implement typed cross-task channels Implement typed cross-task channels Jan 20, 2019
@s-ludwig
Copy link
Member Author

The core semantics are clear now and the implementation should be ready for some real world use. Performance optimzation and additional flexibility (waiting on multiple channels, unbuffered channels) can be added on top later on.

@s-ludwig s-ludwig removed the WIP label Jan 20, 2019
@dlang-bot dlang-bot merged commit c21e1aa into master Jan 20, 2019
@s-ludwig s-ludwig deleted the channels branch January 20, 2019 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants