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

Maybe falcolas means that in the same way that C++ is more memory intensive than C for similar programs, because both C++ and Rust encourage a lot of Vecs/Strings that implicitly allocate on the heap?


Rust doesn't encourage that.


I suppose everything's a continuum with this stuff, but here's one library I ran into where I was a little disappointed to find a heap allocation: https://dnaq.github.io/sodiumoxide/sodiumoxide/crypto/secret...




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

Search: