Rewriting Kafka in Rust(wangjunfei.com) |
Rewriting Kafka in Rust(wangjunfei.com) |
> 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.
C and C++ will outlast us all and there are many other languages vying to be the successor, not just Rust.