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

Write an alternative to `std.concurrency` #308

Open
Geod24 opened this issue Sep 6, 2019 · 0 comments
Open

Write an alternative to `std.concurrency` #308

Geod24 opened this issue Sep 6, 2019 · 0 comments

Comments

@Geod24
Copy link
Member

@Geod24 Geod24 commented Sep 6, 2019

As a developer, I need to have a reliable way to do message passing between threads and spawn tasks in order for our tests and our nodes to work correctly.

Currently, std.concurrency is a major source of problem. The API and design is appealing, but it has little support for local event loop (even though it exposes types that should allow it).
We need an alternative way to do message passing, possibly something similar to Go channel.

See https://docs.google.com/document/d/1yIAYmbvL3JxOKOjuCyon7JhW4cSv1wy5hC0ApeGMV9s/pub

Also: David Nadlinger talked about Fibers at DConf 2015: https://www.youtube.com/watch?v=WzXe2kT9sEo
One of the item discussed was how we can't move Fibers accross Threads. We should look at what Vibe.d does in that regard.

@Geod24 Geod24 added this to the 2. Validator milestone Sep 6, 2019
@MukeunKim MukeunKim self-assigned this Oct 16, 2019
@MukeunKim MukeunKim added this to To do in Sprint #7 (2019-10-01 to 2019-10-14) via automation Oct 16, 2019
@MukeunKim MukeunKim moved this from To do to In progress (Max 4) in Sprint #7 (2019-10-01 to 2019-10-14) Oct 23, 2019
@MukeunKim MukeunKim moved this from In progress (Max 4) to Review/Testing (Max 2) in Sprint #7 (2019-10-01 to 2019-10-14) Oct 28, 2019
@bpalaggi bpalaggi moved this from Review/Testing (Max 2) to In progress (Max 4) in Sprint #7 (2019-10-01 to 2019-10-14) Oct 29, 2019
@bpalaggi bpalaggi added this to To do in Sprint #8 (2019-10-29 to 2019-11-12) via automation Oct 29, 2019
@bpalaggi bpalaggi removed this from In progress (Max 4) in Sprint #7 (2019-10-01 to 2019-10-14) Oct 29, 2019
@bpalaggi bpalaggi moved this from To do to In progress (Max 4) in Sprint #8 (2019-10-29 to 2019-11-12) Oct 29, 2019
@MukeunKim MukeunKim moved this from In progress (Max 4) to Review/Testing (Max 2) in Sprint #8 (2019-10-29 to 2019-11-12) Nov 29, 2019
@MukeunKim MukeunKim moved this from Review/Testing (Max 2) to In progress (Max 4) in Sprint #8 (2019-10-29 to 2019-11-12) Dec 2, 2019
@bpalaggi bpalaggi added this to To do in Sprint #9 (2020-01-07 to 2020-01-20) via automation Jan 7, 2020
@bpalaggi bpalaggi removed this from In progress (Max 5) in Sprint #8 (2019-10-29 to 2019-11-12) Jan 7, 2020
@Geod24 Geod24 moved this from To do to In progress (Max 5) in Sprint #9 (2020-01-07 to 2020-01-20) Jan 7, 2020
@MukeunKim MukeunKim moved this from In progress (Max 5) to Review/Testing (Max 2) in Sprint #9 (2020-01-07 to 2020-01-20) Jan 10, 2020
@bpalaggi bpalaggi moved this from Review/Testing (Max 2) to In progress (Max 5) in Sprint #9 (2020-01-07 to 2020-01-20) Jan 14, 2020
@bpalaggi bpalaggi added this to To do in Sprint #10 (2020-01-21 to 2020-02-10) via automation Jan 21, 2020
@bpalaggi bpalaggi removed this from In progress (Max 5) in Sprint #9 (2020-01-07 to 2020-01-20) Jan 21, 2020
@bpalaggi bpalaggi moved this from To do to In progress (Max 5) in Sprint #10 (2020-01-21 to 2020-02-10) Jan 29, 2020
@Geod24 Geod24 moved this from In progress (Max 5) to Review/Testing (Max 2) in Sprint #10 (2020-01-21 to 2020-02-10) Jan 30, 2020
@bpalaggi bpalaggi removed this from Review/Testing (Max 2) in Sprint #10 (2020-01-21 to 2020-02-10) Feb 11, 2020
@bpalaggi bpalaggi added this to To do in Sprint #11 (2020-02-11 to 2020-02-24) via automation Feb 11, 2020
@bpalaggi bpalaggi moved this from To do to In progress (Max 5) in Sprint #11 (2020-02-11 to 2020-02-24) Feb 11, 2020
@bpalaggi bpalaggi moved this from In progress (Max 5) to Review/Testing (Max 2) in Sprint #11 (2020-02-11 to 2020-02-24) Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Sprint #11 (2020-02-11 to 2020-02-24)
  
Review/Testing (Max 2)
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.