News for hackers. Stuff that matters.
Re:Comparison of Rust async and Linux thread context switch ... by bitcharmer on Friday February 12, 2021 @07:32AM (#26112947)
I work in ultra-low latency space and agree with GP. This comparison makes no sense as OS-level context switch is completely different from a task-switch within the same native thread. The Rust ones from that benchmark are essentially fibers, not threads. You will see similar performance for switching fibers if well implemented in Java, C++ or other natively compiled language. This has nothing to do with Rust.

There are no comments on this comment yet.