News for hackers. Stuff that matters.
Re:Async Rust Is A Bad Language by pkolaczk on Saturday September 09, 2023 @03:09AM (#37442957)
> Managed-memory languages don't require you to even think about lifetimes, let alone write them down.

Memory is only one of many types of resources applications use. Memory-managed languages do nothing to help you with those resources, and effectively managing those resources is way harder in those languages than in Rust or C++.

Re:Async Rust Is A Bad Language by throw10920 on Saturday September 09, 2023 @02:45PM (#37448880)
What? Rust doesn't do anything to "help you with those resources", either - you can still create cycles in ARC objects or allocate huge amounts of memory and then forget about it.

In both languages you have to rely on careful design, and then profile memory use and manage it.

However, Rust requires you to additionally reason about lifetimes explicitly. Again - great for performance, terrible for design, prototyping, and tools in non-resource-constrained environments*.