News for hackers. Stuff that matters.
Re:A four year plan for async Rust by kllrnohj on Tuesday November 07, 2023 @01:16PM (#38180602)
I think async is still in the more just trendy camp than being a proven asset. After all, thread per connection is perfectly viable for the vast majority of servers. Most people aren't re-writing NGINX, after all (hopefully...).

It's a shame Rust let itself be distracted by it instead of focusing on refining its strengths and developer experience

Re:A four year plan for async Rust by riku_iki on Tuesday November 07, 2023 @07:19PM (#38185080)
> Most people aren't re-writing NGINX, after all (hopefully...).

those people probably may use another language (java, go, c#) if absolute performance is not critical for them.

Re:A four year plan for async Rust by kllrnohj on Thursday November 09, 2023 @08:46PM (#38214059)
That's a false equivalence. I can have a performance limited server that is not limited on concurrent connection count in which case thread-per-connect is both simpler and scales great compared to async. async doesn't optimize performance in general rather it optimizes for number of open concurrent connections specifically. Which primarily only helps if you aren't doing much of anything in terms of compute per connection.