The comparison to go is very apt: async-std’s design (including this feature) pushes more and more toward using tasks as the unit of concurrency. This is just like goroutines
-
-
Prikaži ovu nit
-
This is probably well suited to many applications, especially many classes of network services - again, exactly where Go thrives
Prikaži ovu nit -
But there are other targets (eg soft real time systems) where this would be very inappropriate. They should use a different runtime
Prikaži ovu nit -
This is why the separation of concerns between executor, reactor, and middleware is so important: we *should* have many different runtimes optimized for different use cases
Prikaži ovu nit -
One library cannot be the runtime for every use case. Runtime authors should try to pick a particular target user, and other libraries should be written to be abstract over different runtimes
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.