or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing
xxxxxxxxxx
Deep dive notes: futures-concurrency
Links to documents:
tags:
deep-dive
Leave questions, observations, discussion topics below.
Topic
name: prompt
eholk: Does it make more sense to most futures-concurrency under rust-lang, or just piece-wise migrate all of it into std and skip the rust-lang step?
yosh: We could do that, valid option. Skip it if it's controversial.
Might be useful because e.g. AsyncIterator is not ready to stabilize. But people are using async now, with Stream.
tmandry: Anyone using it?
yosh: Microsoft, phil-opp, a few.
tmandry: What have you not included?
yosh: Focused on bounded concurrency: tuples, arrays. Lots of work to be done on dynamic concurrency.
Might be in scope, but want to narrow it down. The join RFC will be further narrowed down to just that.
(continued from above question)
yosh: Parallelism.
tasky
investigates this more.tmandry: Also adopted a Task handle API by default on fuchsia executor, with a
.detach()
escape hatch.eholk: Unix processes work the same way.
yosh: What about zombie processes?
yosh: I suspect we can use new patterns to avoid needing
.detach()
tmandry: Why not
.join()
? :)yosh:
[]::join
already exists -_-.Just use IntoFuture?
eholk:
.await_all
?yosh: Swift's
async let
is really interesting. You can be binding multiple things at once.Infers the await graph for you!