Tyler Mandry
1.7K posts

Tyler Mandry
@tmandry
still trying to do everything everywhere all at once // fuchsia rust lead @google, lang team @rustlang. opinions mine. he/him
California, USA Katılım Mayıs 2008
814 Takip Edilen2.3K Takipçiler

@Lucretiel You should file an RFC for this (maybe too big a change for an ACP, although you could start there to start smaller scale if you wanted)
English
Tyler Mandry retweetledi

Have just released dynosaur v0.1.2, dynosaur is a Rust crate that lets you use dynamic dispatch on traits with async fn and methods returning impl Trait.
Try it out and report errors and give us feedback.
github.com/spastorino/dyn…
crates.io/crates/dynosaur
English

@sashachapin @heynibras @ToBeIsToBreathe Were jhanas an important part for you? Do you have any sense of what % go through them on the way to 1st and 2nd path?
I've been motivated to experience that for awhile but felt pretty stuck. Yet insight practices tend to be weird and fun for me
English

@hdevalence I think there's a still reason you can't use regular captures though. Someone in the scope can create another async context, borrow from that in a sub scope, and forget it. So you have to do some serious contortions to make that impossible
English

@hdevalence This is roughly what I had in mind when I talked about restricting borrowing! I think I even tried something like it and ran into issues with HRTBs in the compiler awhile back, but some of those are fixed now. It's possible it's more ergonomic than I thought
English

excited to see @tmandry’s post on scoped tasks.
i’m sure i’m missing something, though, because i don’t understand what the difficulty is. since the runtime takes ownership of spawned tasks anyways, why can’t it have their children refcount them?
tmandry.gitlab.io/blog/posts/202…

English

@Louis_CAD Kotlin uses garbage collection, Swift uses reference counting. If you want to use reference counting, you can get structured concurrency with one of the "relaxing borrowing" crates
English

A formulation for scoped tasks in Rust tmandry.gitlab.io/blog/posts/202…
English





