News for hackers. Stuff that matters.
Re:Zero to Production in Rust by cjg on Saturday June 05, 2021 @12:26PM (#27406369)
I'd be interested in hearing what you think is a problem in async Rust.
Re:Zero to Production in Rust by Xevi on Saturday June 05, 2021 @01:01PM (#27406689)
I'm not the one you responded to, and I haven't used Rust much myself, but one of the issues I've seen raised several times is that its async ecosystem is fractured. You have to select an async stack, and sometimes different libraries and frameworks use competing stacks, causing problems.

It's not like JavaScript or Go where everything is just built into the language afaik.

Re:Zero to Production in Rust by lstamour on Saturday June 05, 2021 @01:27PM (#27406926)
There’s been a decent amount of standardization on top of Tokio’s implementation of async (green threads). If a library didn’t support it at first, they probably now do using features in your project.toml requirements.[1][2] That said, I agree the standard library isn’t the size or utility of Go’s nor is the ecosystem as wide as Go or npm.

Personally, I’m looking forward to the next few years when more and more companies reveal what patterns they use with Rust development. I think Rust is missing the kind of boost that Rails gave Ruby, for example, or that TypeScript and React gave Node/SSR. Or that Pandas gave Python.

1. https://doc.rust-lang.org/cargo/reference/specifying-depende...

2. https://doc.rust-lang.org/cargo/reference/features.html#depe...