logoalt Hacker News

textlapseyesterday at 6:03 PM1 replyview on HN

What's the performance like? What would the benefits be of converting a streaming multiprocessor programming model to this?


Replies

LegNeatoyesterday at 6:10 PM

We aren't focused on performance yet (it is often workload and executor dependent, and as the post says we currently do some inefficient polling) but Rust futures compile down to state machines so they are a zero-cost abstraction.

The anticipated benefits are similar to the benefits of async/await on CPU: better ergonomics for the developer writing concurrent code, better utilization of shared/limited resources, fewer concurrency bugs.

show 1 reply