News for hackers. Stuff that matters.
Re:What could Go wrong with a mutex by beckingham on Wednesday November 03, 2021 @07:54AM (#29093417)
I recently researched this after speccing out which language to choose for some data heavy async apps at work - And the answer is right now, unfortunately, no.

Rust is in a bit of a weird place here since as a language it only provides async primitives, and it relies on frameworks bringing their own async runtimes - So the ball is in the Tokio teams' court to provide.

It is nice to use channels and tasks in Tokio - The stalwart Rust compiler catches pitfalls with memory leaks and deadlocks that you could fall into with Go. However, observing what's happening within the Tokio runtime is a far cry from where Go and its profiling tools are at.

https://github.com/tokio-rs/console - here's an attempt to make a TUI where you can watch everything in motion, which is about as close as you can get to an easy UI into the system.

There are no comments on this comment yet.