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

Structured concurrency #56

Merged
merged 8 commits into from
Sep 14, 2019
Merged

Conversation

c42f
Copy link
Member

@c42f c42f commented Sep 13, 2019

A document describing structured concurrency and (eventually) how it might be applied in julia.

Please direct substantive comments to the JuliaLang/julia issue JuliaLang/julia#33248

(procedural errors such as spelling may be pointed out here)


## Related julia issues and prototypes

* [Tapir parrallel IR](https://github.com/JuliaLang/julia/pull/31086)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this is primarily about:

  • Compiler representation of tasks
  • Experimenting with Cilk-style semantics (e.g. may happen in parallel or what I have taken to call structured parallelism)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I've replied to this in the main repo.

I have used "Editor" here rather than "Author" as this is a very broad
topic and I hope many people will contribute to the discussion.
@c42f c42f merged commit fe485b9 into JuliaLang:master Sep 14, 2019
@c42f
Copy link
Member Author

c42f commented Sep 14, 2019

I have merged this; not because I think it's complete in any way, but to give us a base to work on.

#### Runtime technicalities for preemption

On a technical level, our runtime situation in julia-1.3 is very similar to
Go where preemption is cooperative and a rouge goroutine can sometimes wedge

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: rouge -> rogue

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Arch, thanks; will be fixed in the next revision. If you do have time to provide some perspective, please head on over to

JuliaLang/julia#33248

where I am pulling on a lot of disparate threads and undoubtedly need all the help I can get from people who actually know things :-)

@c42f c42f deleted the cjf/structured-concurrency branch September 16, 2019 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants