Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
zamalek
2y ago
0 comments
Share
It may no longer be necessary for pins to exist for async implementation:
https://doc.rust-lang.org/std/rc/struct.Rc.html#method.new_c...
(but the current async interface requires using them, so my point is definitely a whatifism).
0 comments
default
newest
oldest
kprotty
2y ago
Replacing Pin with Rc is what they refer to as "Arc shit up". Pin avoids the need for a heap allocation like Rc/Arc entirely.
j
/
k
navigate · click thread line to collapse