News for hackers. Stuff that matters.
Re:Tokio 1.0 – async runtime for Rust by MrBuddyCasino on Wednesday December 23, 2020 @05:37PM (#25523095)
> I guess I'm trying to understand if it's me who's missing something

No you’re not. There is a similar situation in Kotlin, which supports coroutines. Makes things more complicated and is often used for very questionable reasons.

This is why I’m excited about project Loom, which will use the same old thread abstraction but can be configured to use fibers under the hood instead. Java devs don’t even care that its not traditional threading, its the same API! This simultaneously solves the „coloredness“ problem of functions.

Re:Tokio 1.0 – async runtime for Rust by EvilEy3 on Thursday December 24, 2020 @04:15AM (#25526107)
> Makes things more complicated and is often used for very questionable reasons.

Why is it complicated? Because you didn't bother to learn new API and it is sufficiently different from older one?