News for hackers. Stuff that matters.
Re:Async Rust Is A Bad Language by zamalek on Friday September 08, 2023 @02:36PM (#37437575)
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).
Re:Async Rust Is A Bad Language by kprotty on Saturday September 09, 2023 @01:03PM (#37447540)
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.