News for hackers. Stuff that matters.
Re:Async-std: an async port of the Rust standard library by Argorak on Friday August 16, 2019 @05:42PM (#20720002)
0-cost abstraction was summarised by Stroustrup as:

> What you don’t use, you don’t pay for. And further: What you do use, you couldn’t hand code any better.

In that mind-set, it is completely okay that `sync_read` and `async_read.await` can totally compile to something different, as they abstract different things.

Boats has some more thoughts on this here: https://boats.gitlab.io/blog/post/zero-cost-abstractions/

There are no comments on this comment yet.