Here's 2019 day 1 part 1 in Rust with async file loading and async BufReader: https://github.com/mkralla11/rocket_equation … I'm still getting used to specific types for error handling and the best way to architect, but I'm hoping the Failure crate will help me out in the future.
-
-
Prikaži ovu nit
-
Oh and the postfix .await is


I was a little skeptical at first but it plays very well into the rest of the syntax!Prikaži ovu nit
Kraj razgovora
Novi razgovor -
-
-
This is a nice small clean example, thanks. I'm curious, what was your reasoning to use async_std over tokio?
-
That’s a great question. The 2 engineers who are building async-std both contributed to Tokio and Node.js Streams(which is
). In my experience, I know when I rewrite a lib from scratch, I can avoid any pitfalls I encountered the first time around from day one of the new build.. - Još 4 druga odgovora
Novi razgovor -
-
-
Day 7 part 2 is a perfect use-case for async tasks and channels.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Č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.