Rewriting Kafka in Rust
wangjunfei.com
Rewriting Kafka in Rust
1–7 of 7 posts
Re: Rewriting Kafka in Rust
#2> Consider the following example:
Has the author benchmarked this? They are essentially replicating what the compiler does already: the compiler doesn't put each statement/expression into its own state, states occur on the boundaries of awaits.
Re: Rewriting Kafka in Rust
#3> 1. Avoid Turning Functions into async Whenever Possible > Consider the following example: Has the author benchmarked this? They are essentially replicating what the compiler does already: the compiler doesn't put each statement/expression into its own state, states occur on the boundaries of awaits.
Re: Rewriting Kafka in Rust
#4C and C++ will outlast us all and there are many other languages vying to be the successor, not just Rust.
Re: Rewriting Kafka in Rust
#5> 1. Avoid Turning Functions into async Whenever Possible > Consider the following example: Has the author benchmarked this? They are essentially replicating what the compiler does already: the compiler doesn't put each statement/expression into its own state, states occur on the boundaries of awaits.
Re: Rewriting Kafka in Rust
#6> 1. Avoid Turning Functions into async Whenever Possible > Consider the following example: Has the author benchmarked this? They are essentially replicating what the compiler does already: the compiler doesn't put each statement/expression into its own state, states occur on the boundaries of awaits.
I think he's trying to suggest not making a few function without any await statements async. He doesn't suggest implementing your own futures manually.