2 ms·
Seems a bit thin on the motivation. What are the benefits over threadpool-based executors? Nit - I already see a drawback in requiring macro-based annotations
by chmln 7y ago
Seems a bit thin on the motivation. What are the benefits over threadpool-based executors? Nit - I already see a drawback in requiring macro-based annotations on functions and for loops - something that's not necessary today.
Out of all things regarding async programming in Rust, runtime seems like one of the less important aspects. Stabilization, ecosystem, syntax, and even no_std support seem far more important.
- bluejekyll 7y agoThere’s a big advantage to making the runtime generic, and that’s for portability. For example, it sounds like Fuchsia OS has a custom runtime over it’s own event system. Many libraries are built coupled to Tokio. But if we were encouraged through good tooling with async test interfaces, than most of these libraries would be even more portable.