mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

568
comptes actifs

#rustasync

0 message0 participant0 message aujourd’hui
Jan :rust: :ferris:<p><span class="h-card" translate="no"><a href="https://namtao.com/@noboilerplate" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>noboilerplate</span></a></span> THIS!</p><p>I think a lot of people inadvertently assume async <a href="https://floss.social/tags/RustLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RustLang</span></a> is so different from sync Rust, because the way it is - when in fact it's because of the (most popular) async runtime they're using.</p><p>We should look way more into alternative <a href="https://floss.social/tags/async" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>async</span></a> runtimes to <a href="https://floss.social/tags/Tokio" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Tokio</span></a>, e.g. smol:</p><p><a href="https://floss.social/@janriemer/111669258656959538" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">floss.social/@janriemer/111669</span><span class="invisible">258656959538</span></a></p><p><a href="https://floss.social/tags/Smol" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Smol</span></a> allows you to use non-'static Futures by using a local executor:</p><p><a href="https://floss.social/@janriemer/111669668856899636" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">floss.social/@janriemer/111669</span><span class="invisible">668856899636</span></a></p><p>It looks a lot more like "normal" <a href="https://floss.social/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a>.</p><p><a href="https://floss.social/tags/RustAsync" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RustAsync</span></a> <a href="https://floss.social/tags/AsyncRust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AsyncRust</span></a> <a href="https://floss.social/tags/Concurrency" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Concurrency</span></a></p>
Jan :rust: :ferris:<p>Beul - it executes futures | by Bert Peters</p><p><a href="https://lib.rs/crates/beul" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lib.rs/crates/beul</span><span class="invisible"></span></a></p><p>"Beul is a minimalistic futures executor. No dependencies, no unsafe <a href="https://floss.social/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a>. It simply executes futures."</p><p>It can't get any simpler than that. ¯\_(ツ)_/¯</p><p><a href="https://floss.social/tags/RustLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RustLang</span></a> <a href="https://floss.social/tags/RustAsync" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RustAsync</span></a> <a href="https://floss.social/tags/Async" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Async</span></a> <a href="https://floss.social/tags/AsyncRust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AsyncRust</span></a></p>
Jan :rust: :ferris:<p>*makes some happy screaming noise* :awesome: :ferris: </p><p><a href="https://floss.social/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a> will end this year with a long awaited feature that will define it's future:</p><p>We will get "async fn and return-position impl Trait in trait" (<a href="https://floss.social/tags/AFIT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AFIT</span></a> &amp; <a href="https://floss.social/tags/RPITIT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RPITIT</span></a>).</p><p>It will be stabilized in the next <a href="https://floss.social/tags/RustLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RustLang</span></a> version 1.75, which will be released on 28 December, 2023.</p><p><a href="https://releases.rs/docs/1.75.0/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">releases.rs/docs/1.75.0/</span><span class="invisible"></span></a></p><p>PR:<br><a href="https://github.com/rust-lang/rust/pull/115822" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/rust-lang/rust/pull</span><span class="invisible">/115822</span></a></p><p>Thank you Rust <a href="https://floss.social/tags/community" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>community</span></a> for all of your hard work! ❤️ </p><p><a href="https://floss.social/tags/RustAsync" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RustAsync</span></a> <a href="https://floss.social/tags/AsyncRust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AsyncRust</span></a></p>