64
Rust Project goals for 2024 (blog.rust-lang.org)
submitted 2 years ago by mac@programming.dev to c/rust@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] thingsiplay@beehaw.org 4 points 2 years ago

I wish Rust would adopt tokio (or any other, if better suited) as a default first citizen async runtime. Then everyone can be sure to write in that runtime , knowingly it will run. If people need a different runtime, they could still opt out of tokio and opt in to whatever they like. The freedom of choice would not be hindered, but we would gain a default runtime.

What's stopping this from happening?

[-] FizzyOrange@programming.dev 6 points 2 years ago

Is that even desirable? There are other runtimes for specific things, e.g. for embedded, WASM, Fuchsia, etc. Doesn't seem like there's a one-size-fits-all runtime.

I guess the proper answer is some kind of minimum standard async interface, but presumably there's a reason they haven't done that.

I dunno really, I've avoided async Rust as much as possible due to the number of footguns it has.

load more comments (3 replies)
this post was submitted on 12 Aug 2024
64 points (100.0% liked)

Rust

7798 readers
31 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS