Skip to content

Guidelines on custom IORuntime #1562

Answered by djspiewak
ppurang asked this question in Q&A
Dec 30, 2020 · 5 comments · 8 replies
Discussion options

You must be logged in to vote

Great question!

First off, the fact that IORuntime doesn't allow the same constructor options externally as it has internally is (mostly) an oversight and should be fixed. The only exception to this is the WorkStealingPool note, which I'm willing to hear counter-arguments on. Backing up…

The circumstances under which you want a custom IORuntime are very niche. In fact, they're so niche that I almost want to just remove that guideline from the @implicitNotFound text. It's easier to enumerate scenarios in which you don't want a custom runtime…

  • Anything that uses IOApp. The global pool is pretty much forcibly used within IOApp. We could probably adjust this, but I'm not sure I see a reason …

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ppurang
Comment options

You must be logged in to vote
2 replies
@andrethobu
Comment options

@vasilmkd
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bblfish
Comment options

Comment options

You must be logged in to vote
5 replies
@armanbilge
Comment options

@armanbilge
Comment options

@armanbilge
Comment options

@armanbilge
Comment options

@alcortaj
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants