News for hackers. Stuff that matters.
Re:Async Rust doesn't have to be hard by dataangel on Friday June 03, 2022 @07:00PM (#31614804)
C++ wrapped in Arc<Mutex<T>> is not at all how people write C++ nowadays. There are some (poor) code cases where people slap shared_ptr on everything, but even then I've never seen them also also mutex on everything. That's just terrible practice.
Re:Async Rust doesn't have to be hard by ncmncm on Friday June 03, 2022 @09:03PM (#31615759)
Yes. In the C++ world we call this Java Disease.
Re:Async Rust doesn't have to be hard by mtelgon on Saturday June 04, 2022 @10:31AM (#31620752)
Not too familiar with C++, but what is "what people write c++ nowadays" that deals with this?