News for hackers. Stuff that matters.
Re:Await in Rust by brianguertin on Monday August 12, 2019 @05:08PM (#20680025)
Oh cool. And does that actually work? That's great.

And the syntax is surprisingly similar, especially considering we are supposedly comparing a low level language to a high level one.

Re:Await in Rust by shepmaster on Monday August 12, 2019 @10:14PM (#20682203)
Yes, one big push in Rust is that you get to have your high-level syntax with your low-level performance.

See the sibling comment [1] where I actually tested and ran the code, finally. ;-). I was unaware that Kotlin would race two `async` blocks, so we had to use the `join` combinator here.

[1]: https://news.ycombinator.com/item?id=20682191