News for hackers. Stuff that matters.
Re:Tokio Console by the__alchemist on Friday December 17, 2021 @06:12PM (#29599470)
Question for y'all using Async/Await: Are you coding web servers/backends, and/or do you have a background in that? Testing a (transparent!) theory.
Re:Tokio Console by qdot76367 on Friday December 17, 2021 @06:21PM (#29599526)
I'm using it for hardware libraries that are mostly I/O bound. We're not C10K, we're barely C10, but it's easier than managing threads manually for me.
Re:Tokio Console by the__alchemist on Saturday December 18, 2021 @11:29AM (#29605758)
Interesting! I use rust mainly for embedded. There's a framework called Embassy that uses Async. Mainly built by one guy who's pretty sharp. I prefer to use interrupts, DMA, timers etc directly instead of Async, but it seems that a large number of Rust programmers consider Async to be fundamental. I wasn't sure if that was just the web devs or what, but here are 2 counter-examples.
Re:Tokio Console by msdrigg on Friday December 17, 2021 @11:46PM (#29601741)
This made me laugh, but Im in the same boat haha
Re:Tokio Console by mycoliza on Saturday December 18, 2021 @05:01PM (#29608975)
At my day job (https://buoyant.io/), we're using it to write a reverse proxy/load balancer --- one of the use-cases where you really, absolutely do need asynchronous concurrency. :)