Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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*.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: