Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
zamalek
2y ago
0 comments
Save
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
1 comments · 1 top-level
top
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