News for hackers. Stuff that matters.
Re:Rust's 2018 roadmap by jadbox on Monday March 12, 2018 @02:46PM (#16570374)
It would be nice to see examples of these new systems hypothetically working together... what does an async DB access within a web request look like with async/await+tokio 0.2?
Re:Rust's 2018 roadmap by pimeys on Monday March 12, 2018 @02:58PM (#16570455)
Pretty much like your good old sync code. Some examples how it might look like you can read from the async/await macro crate [0], somebody might be able to provide more recent examples...

[0] https://github.com/alexcrichton/futures-await