3 ms·
And Zap (scheduler for Zig) is already faster than Tokio. Zig and other recent languages have been invented after Rust and Go, so they could learn from them, w
by jedisct1 6y ago
And Zap (scheduler for Zig) is already faster than Tokio.
Zig and other recent languages have been invented after Rust and Go, so they could learn from them, while Rust had to experiment a lot in order to combine async with borrow checking.
So, yes, the async situation in Rust is very awkward, and doing something beyond a Ping server is more complicated than it could be. But that’s what it takes to be a pioneer.
- winter_squirrel 6y agoAre there any benchmarks / links for zap? I tried searching and didn't find much
- the_duke 6y ago> And Zap (scheduler for Zig) is already faster than Tokio. I'm not necessarily doubtful, tokio isn't the fastest implementation of a runtime. But can you point to a non-trivial benchmark that shows this? Performance claims should always come with a verifiable benchmark.
- jedisct1 6y agoCheck out @kingprotty's Twitter posts and Zig Show presentations.