News for hackers. Stuff that matters.
Re:Update on await syntax in Rust by amelius on Tuesday May 28, 2019 @01:42PM (#20032461)
It's not just learning the new notation. It's also that you probably can't override it with your own implementation (useful perhaps in embedded environments).
Re:Update on await syntax in Rust by kibwen on Tuesday May 28, 2019 @02:02PM (#20032670)
I don't see why you'd need to override await, because unlike in other languages Rust doesn't implicitly insert machinery for facilitating task execution. You need to provide your own task executor, which is the part that embedded environments would want to (and will be able to) have control over.