It is Rust implementing the pattern. So… :P
- 0 Posts
- 11 Comments
When people say “async is viral” in Rust, they mean that once you make one function
async, that change tends to ripple through the rest of your code. Any function that calls it usually has to becomeasyncas well so it canawaitthe result. In turn, the callers of those functions often need to becomeasynctoo.This propagation can continue all the way up the call stack until you reach your application’s entry point. The main exception is when you introduce an explicit synchronous-to-asynchronous boundary, such as by using
block_on, which drives the future to completion without requiring the caller itself to beasync.
- viral async
- viral lifetime annotations
🫣
cjk@discuss.tchncs.deto
Technology@lemmy.world•DuckDuckGo poll says 90% responders don't want AIEnglish
29·10 months agoTo be honest, I think most don’t know about noai.duckduckgo.com – at least I didn’t.
Am I the only one who thinks that the text looks like generated by ChatGPT? At least everything after the first paragraph?
Was the blog post titled „how to be the worst OSS citizen“? That would at least be consequential
cjk@discuss.tchncs.deto
RetroGaming@lemmy.world•Who was your first childhood videogame crush?English
1·1 year agoWow, that was my first crush, too. Damn, Wing Commander was a really great game.
To be honest, I wasn’t aware of this option when I wrote this library. Nowadays I would chose this path.
Yeah, well. What should I say. I wanted to use it in a commercial project, too :)
Apple deployed a library I wrote to every mac on the world, and additionally bundles it with Xcode.
Apple users reported some bugs, that‘s how I found out.
I never heard a word from them. No patches, no bug reports, nothing, they didn’t even bother to refresh the bundled version.
I think in the meantime they removed it from macOS but still bundle it with Xcode.
I mean, I didn’t any money, but some appreciation would’ve been nice, and a version refresh…
If you are curious: it is this library: https://github.com/ckruse/CFPropertyList
Edit: appreciation as in: a mail with a notice that they did so.

„Claude, rewrite the Linux kernel in Rust. Make no mistakes.“