News for hackers. Stuff that matters.
Re:From zero to 10M lines of Kotlin by afavour on Tuesday October 25, 2022 @10:21AM (#33330820)
> I find coroutines a really strange and leaky abstraction (and the prevalence of suspend methods in libraries which you have to wrap all the time just to call them synchronously is really annoying).

I think the point is to be calling them asynchronously. Unfortunately async programming is kind of contagious and difficult to shoehorn into sync stuff but if it’s written asynchronously there’s usually a reason.

Re:From zero to 10M lines of Kotlin by bottled_poe on Tuesday October 25, 2022 @10:34AM (#33330994)
Is it? Seems to me that most instructions are naturally async or can be refactored as such. I’m probably wrong, just a feeling.